Skip to content

Commit

Permalink
move dummy test module to auxiliary directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Jun 4, 2022
1 parent c08f460 commit f479289
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/test/ui/modules/auxiliary/dummy_lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#[allow(dead_code)]
pub struct Dummy;
1 change: 0 additions & 1 deletion src/test/ui/modules/dummy.rs

This file was deleted.

4 changes: 2 additions & 2 deletions src/test/ui/modules/special_module_name_ignore.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// run-pass

#[path = "dummy.rs"]
#[path = "auxiliary/dummy_lib.rs"]
mod lib;

#[path = "dummy.rs"]
#[path = "auxiliary/dummy_lib.rs"]
mod main;

fn main() {}

0 comments on commit f479289

Please sign in to comment.