]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/inner-attr.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / inner-attr.stderr
1 error: an inner attribute is not permitted following an outer attribute
2   --> $DIR/inner-attr.rs:3:1
3    |
4 LL | #[feature(lang_items)]
5    | ---------------------- previous outer attribute
6 LL | 
7 LL | #![recursion_limit="100"]
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^ not permitted following an outer attibute
9    |
10    = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them.
11
12 error: aborting due to previous error
13