]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/effective_visibilities_invariants.rs
add tests for 107090
[rust.git] / tests / ui / privacy / effective_visibilities_invariants.rs
1 // Invariant checking doesn't ICE in some cases with errors (issue #104249).
2
3 #![feature(staged_api)] //~ ERROR module has missing stability attribute
4
5 pub mod m {} //~ ERROR module has missing stability attribute
6
7 pub mod m { //~ ERROR the name `m` is defined multiple times
8     mod inner {}
9     type Inner = u8;
10 }
11
12 fn main() {}