diff options
Diffstat (limited to 'src/test/incremental/issue-62649-path-collisions-happen.rs')
-rw-r--r-- | src/test/incremental/issue-62649-path-collisions-happen.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/incremental/issue-62649-path-collisions-happen.rs b/src/test/incremental/issue-62649-path-collisions-happen.rs new file mode 100644 index 000000000..ee81be76b --- /dev/null +++ b/src/test/incremental/issue-62649-path-collisions-happen.rs @@ -0,0 +1,13 @@ +// revisions: rpass1 rpass2 + +#[cfg(rpass1)] +pub trait Something { + fn foo(); +} + +#[cfg(rpass2)] +pub struct Something { + pub foo: u8, +} + +fn main() {} |