rust/tests/ui/privacy/effective_visibilities_invariants.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
330 B
Rust
Raw Normal View History

// Invariant checking doesn't ICE in some cases with errors (issue #104249).
#![feature(staged_api)] //~ ERROR module has missing stability attribute
pub mod m {} //~ ERROR module has missing stability attribute
pub mod m { //~ ERROR the name `m` is defined multiple times
mod inner {}
type Inner = u8;
}
fn main() {}