mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
13 lines
330 B
Rust
13 lines
330 B
Rust
// 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() {}
|