]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-in-nested-module.rs
Detect pub fn attr wrong order like `async pub`
[rust.git] / src / test / ui / type-in-nested-module.rs
1 // run-pass
2
3 #![allow(non_camel_case_types)]
4 #![allow(dead_code)]
5
6
7 // pretty-expanded FIXME #23616
8
9 mod a {
10     pub mod b {
11         pub type t = isize;
12
13         pub fn foo() { let _x: t = 10; }
14     }
15 }
16
17 pub fn main() { }