| 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`. |