|
| 1 | +error: an inner attribute is not permitted in this context |
| 2 | + --> $DIR/check-cfg_attr-ice.rs:60:9 |
| 3 | + | |
| 4 | +LL | #![cfg_attr::no_such_thing] |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files |
| 8 | + = note: outer attributes, like `#[test]`, annotate the item following them |
| 9 | + |
| 10 | +error[E0658]: attributes on expressions are experimental |
| 11 | + --> $DIR/check-cfg_attr-ice.rs:45:9 |
| 12 | + | |
| 13 | +LL | #[cfg_attr::no_such_thing] |
| 14 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 15 | + | |
| 16 | + = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information |
| 17 | + = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable |
| 18 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 19 | + |
| 20 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 21 | + --> $DIR/check-cfg_attr-ice.rs:52:3 |
| 22 | + | |
| 23 | +LL | #[cfg_attr::no_such_thing] |
| 24 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 25 | + |
| 26 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 27 | + --> $DIR/check-cfg_attr-ice.rs:55:7 |
| 28 | + | |
| 29 | +LL | #[cfg_attr::no_such_thing] |
| 30 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 31 | + |
| 32 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 33 | + --> $DIR/check-cfg_attr-ice.rs:57:17 |
| 34 | + | |
| 35 | +LL | GiveYouUp(#[cfg_attr::no_such_thing] u8), |
| 36 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 37 | + |
| 38 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 39 | + --> $DIR/check-cfg_attr-ice.rs:64:11 |
| 40 | + | |
| 41 | +LL | #[cfg_attr::no_such_thing] |
| 42 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 43 | + |
| 44 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 45 | + --> $DIR/check-cfg_attr-ice.rs:41:7 |
| 46 | + | |
| 47 | +LL | #[cfg_attr::no_such_thing] |
| 48 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 49 | + |
| 50 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 51 | + --> $DIR/check-cfg_attr-ice.rs:43:15 |
| 52 | + | |
| 53 | +LL | fn from(#[cfg_attr::no_such_thing] any_other_guy: AnyOtherGuy) -> This { |
| 54 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 55 | + |
| 56 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 57 | + --> $DIR/check-cfg_attr-ice.rs:45:11 |
| 58 | + | |
| 59 | +LL | #[cfg_attr::no_such_thing] |
| 60 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 61 | + |
| 62 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 63 | + --> $DIR/check-cfg_attr-ice.rs:32:3 |
| 64 | + | |
| 65 | +LL | #[cfg_attr::no_such_thing] |
| 66 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 67 | + |
| 68 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 69 | + --> $DIR/check-cfg_attr-ice.rs:24:3 |
| 70 | + | |
| 71 | +LL | #[cfg_attr::no_such_thing] |
| 72 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 73 | + |
| 74 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 75 | + --> $DIR/check-cfg_attr-ice.rs:27:7 |
| 76 | + | |
| 77 | +LL | #[cfg_attr::no_such_thing] |
| 78 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 79 | + |
| 80 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 81 | + --> $DIR/check-cfg_attr-ice.rs:16:3 |
| 82 | + | |
| 83 | +LL | #[cfg_attr::no_such_thing] |
| 84 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 85 | + |
| 86 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 87 | + --> $DIR/check-cfg_attr-ice.rs:19:7 |
| 88 | + | |
| 89 | +LL | #[cfg_attr::no_such_thing] |
| 90 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 91 | + |
| 92 | +error[E0433]: failed to resolve: use of undeclared crate or module `cfg_attr` |
| 93 | + --> $DIR/check-cfg_attr-ice.rs:12:3 |
| 94 | + | |
| 95 | +LL | #[cfg_attr::no_such_thing] |
| 96 | + | ^^^^^^^^ use of undeclared crate or module `cfg_attr` |
| 97 | + |
| 98 | +error: aborting due to 15 previous errors |
| 99 | + |
| 100 | +Some errors have detailed explanations: E0433, E0658. |
| 101 | +For more information about an error, try `rustc --explain E0433`. |
0 commit comments