summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0789.stderr
blob: 6df9daafec76d179f940d2acc70d92d0b2749d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0789]: `rustc_allowed_through_unstable_modules` attribute must be paired with a `stable` attribute
  --> $DIR/E0789.rs:9:1
   |
LL | struct Foo;
   | ^^^^^^^^^^^

error[E0789]: `rustc_allowed_through_unstable_modules` attribute must be paired with a `stable` attribute
  --> $DIR/E0789.rs:9:1
   |
LL | struct Foo;
   | ^^^^^^^^^^^
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 2 previous errors

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