2022-11-23 19:19:06 +03:00
|
|
|
// 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
|
2022-11-23 20:13:44 +03:00
|
|
|
mod inner {}
|
2022-11-23 19:19:06 +03:00
|
|
|
type Inner = u8;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|