| 1 |
// { dg-additional-options "-w" } |
| 2 |
|
| 3 |
mod missing_middle { |
| 4 |
mod sub; |
| 5 |
|
| 6 |
#[path = "explicit.not.rs"] |
| 7 |
mod explicit; |
| 8 |
} |
| 9 |
|
| 10 |
#[path = "mod_missing_middle/missing_middle"] |
| 11 |
mod with_outer_path_attr { |
| 12 |
#[path = "outer_path.rs"] |
| 13 |
mod inner; |
| 14 |
} |
| 15 |
|
| 16 |
mod with_inner_path_attr { |
| 17 |
#![path = "mod_missing_middle/missing_middle"] |
| 18 |
|
| 19 |
#[path = "inner_path.rs"] |
| 20 |
mod inner; |
| 21 |
} |
| 22 |
|
| 23 |
#[path = "mod_missing_middle/missing_middle"] |
| 24 |
mod with_both_path_attr { |
| 25 |
#![path = "this_is_ignored"] |
| 26 |
|
| 27 |
#[path = "both_path.rs"] |
| 28 |
mod inner; |
| 29 |
} |