|  | 
|  | 1 | +error: where clauses are not allowed before the type for type aliases | 
|  | 2 | +  --> $DIR/cfg-attr-issue-138010.rs:11:5 | 
|  | 3 | +   | | 
|  | 4 | +LL | /     where | 
|  | 5 | +LL | | | 
|  | 6 | +LL | |         #[cfg(a)] | 
|  | 7 | +...  | | 
|  | 8 | +LL | |         ():, | 
|  | 9 | +LL | |         ():, | 
|  | 10 | +   | |____________^ | 
|  | 11 | +   | | 
|  | 12 | +   = note: see issue #89122 <https://github.com/rust-lang/rust/issues/89122> for more information | 
|  | 13 | +help: move it to the end of the type declaration | 
|  | 14 | +   | | 
|  | 15 | +LL ~      | 
|  | 16 | +LL ~     = T where ():, ():; | 
|  | 17 | +   | | 
|  | 18 | + | 
|  | 19 | +error[E0658]: attributes in `where` clause are unstable | 
|  | 20 | +  --> $DIR/cfg-attr-issue-138010.rs:13:9 | 
|  | 21 | +   | | 
|  | 22 | +LL |         #[cfg(a)] | 
|  | 23 | +   |         ^^^^^^^^^ | 
|  | 24 | +   | | 
|  | 25 | +   = note: see issue #115590 <https://github.com/rust-lang/rust/issues/115590> for more information | 
|  | 26 | +   = help: add `#![feature(where_clause_attrs)]` to the crate attributes to enable | 
|  | 27 | +   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date | 
|  | 28 | + | 
|  | 29 | +error[E0658]: attributes in `where` clause are unstable | 
|  | 30 | +  --> $DIR/cfg-attr-issue-138010.rs:17:9 | 
|  | 31 | +   | | 
|  | 32 | +LL |         #[cfg(b)] | 
|  | 33 | +   |         ^^^^^^^^^ | 
|  | 34 | +   | | 
|  | 35 | +   = note: see issue #115590 <https://github.com/rust-lang/rust/issues/115590> for more information | 
|  | 36 | +   = help: add `#![feature(where_clause_attrs)]` to the crate attributes to enable | 
|  | 37 | +   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date | 
|  | 38 | + | 
|  | 39 | +warning: the feature `lazy_type_alias` is incomplete and may not be safe to use and/or cause compiler crashes | 
|  | 40 | +  --> $DIR/cfg-attr-issue-138010.rs:1:12 | 
|  | 41 | +   | | 
|  | 42 | +LL | #![feature(lazy_type_alias)] | 
|  | 43 | +   |            ^^^^^^^^^^^^^^^ | 
|  | 44 | +   | | 
|  | 45 | +   = note: see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information | 
|  | 46 | +   = note: `#[warn(incomplete_features)]` on by default | 
|  | 47 | + | 
|  | 48 | +warning: unexpected `cfg` condition name: `a` | 
|  | 49 | +  --> $DIR/cfg-attr-issue-138010.rs:13:15 | 
|  | 50 | +   | | 
|  | 51 | +LL |         #[cfg(a)] | 
|  | 52 | +   |               ^ help: found config with similar value: `target_feature = "a"` | 
|  | 53 | +   | | 
|  | 54 | +   = help: expected names are: `FALSE` and `test` and 31 more | 
|  | 55 | +   = help: to expect this configuration use `--check-cfg=cfg(a)` | 
|  | 56 | +   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration | 
|  | 57 | +   = note: `#[warn(unexpected_cfgs)]` on by default | 
|  | 58 | + | 
|  | 59 | +warning: unexpected `cfg` condition name: `b` | 
|  | 60 | +  --> $DIR/cfg-attr-issue-138010.rs:17:15 | 
|  | 61 | +   | | 
|  | 62 | +LL |         #[cfg(b)] | 
|  | 63 | +   |               ^ | 
|  | 64 | +   | | 
|  | 65 | +   = help: to expect this configuration use `--check-cfg=cfg(b)` | 
|  | 66 | +   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration | 
|  | 67 | + | 
|  | 68 | +error: aborting due to 3 previous errors; 3 warnings emitted | 
|  | 69 | + | 
|  | 70 | +For more information about this error, try `rustc --explain E0658`. | 
0 commit comments