summaryrefslogtreecommitdiffstats
path: root/tests/ui/diagnostic_namespace/feature-gate-diagnostic_namespace.stderr
blob: 017d00e2c8e51dd9825c0fd95c1c03bda1307bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error[E0658]: `#[diagnostic]` attribute name space is experimental
  --> $DIR/feature-gate-diagnostic_namespace.rs:1:3
   |
LL | #[diagnostic::non_existing_attribute]
   |   ^^^^^^^^^^
   |
   = note: see issue #111996 <https://github.com/rust-lang/rust/issues/111996> for more information
   = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable

error[E0658]: `#[diagnostic]` attribute name space is experimental
  --> $DIR/feature-gate-diagnostic_namespace.rs:7:3
   |
LL | #[diagnostic::non_existing_attribute(with_option = "foo")]
   |   ^^^^^^^^^^
   |
   = note: see issue #111996 <https://github.com/rust-lang/rust/issues/111996> for more information
   = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable

warning: unknown diagnostic attribute
  --> $DIR/feature-gate-diagnostic_namespace.rs:1:15
   |
LL | #[diagnostic::non_existing_attribute]
   |               ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unknown_or_malformed_diagnostic_attributes)]` on by default

warning: unknown diagnostic attribute
  --> $DIR/feature-gate-diagnostic_namespace.rs:7:15
   |
LL | #[diagnostic::non_existing_attribute(with_option = "foo")]
   |               ^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors; 2 warnings emitted

For more information about this error, try `rustc --explain E0658`.