fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: `#[diagnostic]` attribute name space is experimental 2 --> $DIR/feature-gate-diagnostic_namespace.rs:1:3 3 | 4LL | #[diagnostic::non_existing_attribute] 5 | ^^^^^^^^^^ 6 | 7 = note: see issue #111996 <https://github.com/rust-lang/rust/issues/111996> for more information 8 = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable 9 10error[E0658]: `#[diagnostic]` attribute name space is experimental 11 --> $DIR/feature-gate-diagnostic_namespace.rs:7:3 12 | 13LL | #[diagnostic::non_existing_attribute(with_option = "foo")] 14 | ^^^^^^^^^^ 15 | 16 = note: see issue #111996 <https://github.com/rust-lang/rust/issues/111996> for more information 17 = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable 18 19warning: unknown diagnostic attribute 20 --> $DIR/feature-gate-diagnostic_namespace.rs:1:15 21 | 22LL | #[diagnostic::non_existing_attribute] 23 | ^^^^^^^^^^^^^^^^^^^^^^ 24 | 25 = note: `#[warn(unknown_or_malformed_diagnostic_attributes)]` on by default 26 27warning: unknown diagnostic attribute 28 --> $DIR/feature-gate-diagnostic_namespace.rs:7:15 29 | 30LL | #[diagnostic::non_existing_attribute(with_option = "foo")] 31 | ^^^^^^^^^^^^^^^^^^^^^^ 32 33error: aborting due to 2 previous errors; 2 warnings emitted 34 35For more information about this error, try `rustc --explain E0658`.