rust/src/test/ui/type-in-nested-module.rs

18 lines
222 B
Rust

// run-pass
#![allow(non_camel_case_types)]
#![allow(dead_code)]
// pretty-expanded FIXME #23616
mod a {
pub mod b {
pub type t = isize;
pub fn foo() { let _x: t = 10; }
}
}
pub fn main() { }