fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0061]: this function takes 0 arguments but 1 argument was supplied 2 --> $DIR/alloc-error-handler-bad-signature-3.rs:10:1 3 | 4LL | #[alloc_error_handler] 5 | ---------------------- in this procedural macro expansion 6LL | fn oom() -> ! { 7 | _-^^^^^^^^^^^^ 8LL | | loop {} 9LL | | } 10 | |_- unexpected argument of type `core::alloc::Layout` 11 | 12note: function defined here 13 --> $DIR/alloc-error-handler-bad-signature-3.rs:10:4 14 | 15LL | fn oom() -> ! { 16 | ^^^ 17 = note: this error originates in the attribute macro `alloc_error_handler` (in Nightly builds, run with -Z macro-backtrace for more info) 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0061`.