1
Fork 0
rust/src/test/ui/parser/inner-attr.stderr

14 lines
549 B
Text
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: an inner attribute is not permitted following an outer attribute
--> $DIR/inner-attr.rs:3:1
2018-10-20 23:36:17 +03:00
|
LL | #[feature(lang_items)]
| ---------------------- previous outer attribute
LL |
2019-03-09 15:03:44 +03:00
LL | #![recursion_limit="100"]
2020-03-06 16:02:32 +01:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not permitted following an outer attribute
2018-10-20 23:36:17 +03:00
|
= 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.
error: aborting due to previous error