mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
13 lines
462 B
Plaintext
13 lines
462 B
Plaintext
error: an inner attribute is not permitted in this context
|
|
--> $DIR/isgg-invalid-outer-attttr-issue-127930.rs:4:1
|
|
|
|
|
LL | #![feature(iter_array_chunks)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
LL | fn bar() {}
|
|
| ----------- the inner attribute doesn't annotate this function
|
|
|
|
|
= note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
|
|
|
|
error: aborting due to 1 previous error
|
|
|