LL | #[alloc_error_handler]
| ---------------------- in this procedural macro expansion
LL | fn oom(
- | _^
- | |_|
+ | __^
+ | | _|
| ||
LL | || info: Layout,
LL | || ) {
- | || -
- | ||_|
- | | arguments to this function are incorrect
+ | ||_- arguments to this function are incorrect
LL | | loop {}
LL | | }
| |__^ expected struct `Layout`, found struct `core::alloc::Layout`
LL | #[alloc_error_handler]
| ---------------------- in this procedural macro expansion
LL | fn oom(
- | _^
- | |_|
+ | __^
+ | | _|
| ||
LL | || info: Layout,
LL | || ) {
- | || ^
- | ||_|
- | | expected `!`, found `()`
+ | ||_^ expected `!`, found `()`
LL | | loop {}
LL | | }
| |__- expected `!` because of return type