Skip to content

Commit 341d65d

Browse files
committed
Add test case for #86177 and #85718
1 parent 23f6923 commit 341d65d

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
1| |#[path = "lib/unused_mod_helper.rs"]
2+
2| |mod unused_module;
3+
3| |
4+
4| 1|fn main() {
5+
5| 1| println!("hello world!");
6+
6| 1|}
7+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub fn never_called_function() {
2+
println!("I am never called");
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#[path = "lib/unused_mod_helper.rs"]
2+
mod unused_module;
3+
4+
fn main() {
5+
println!("hello world!");
6+
}

0 commit comments

Comments
 (0)