mirror of https://github.com/rust-lang/rust.git
parent
23f69235ad
commit
341d65d975
|
@ -0,0 +1,7 @@
|
|||
1| |#[path = "lib/unused_mod_helper.rs"]
|
||||
2| |mod unused_module;
|
||||
3| |
|
||||
4| 1|fn main() {
|
||||
5| 1| println!("hello world!");
|
||||
6| 1|}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
pub fn never_called_function() {
|
||||
println!("I am never called");
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
#[path = "lib/unused_mod_helper.rs"]
|
||||
mod unused_module;
|
||||
|
||||
fn main() {
|
||||
println!("hello world!");
|
||||
}
|
Loading…
Reference in New Issue