]>
Commit | Line | Data |
---|---|---|
136023e0 | 1 | // check-pass |
13cf67c4 XL |
2 | // edition:2018 |
3 | // compile-flags:--extern edition_imports_2015 | |
4 | // aux-build:edition-imports-2015.rs | |
5 | ||
6 | mod edition_imports_2015 { | |
7 | pub struct Path; | |
8 | } | |
9 | ||
10 | pub struct Ambiguous {} | |
11 | ||
12 | mod check { | |
13 | pub struct Ambiguous {} | |
14 | ||
15 | fn check() { | |
532ac7d7 | 16 | edition_imports_2015::gen_ambiguous!(); // OK |
13cf67c4 XL |
17 | } |
18 | } | |
19 | ||
20 | fn main() {} |