mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
bfb16545a3
This makes the test snapshots less sensitive to lines being added/removed.
14 lines
362 B
Plaintext
14 lines
362 B
Plaintext
$DIR/auxiliary/unused_mod_helper.rs:
|
|
LL| 0|pub fn never_called_function() {
|
|
LL| 0| println!("I am never called");
|
|
LL| 0|}
|
|
|
|
$DIR/unused_mod.rs:
|
|
LL| |#[path = "auxiliary/unused_mod_helper.rs"]
|
|
LL| |mod unused_module;
|
|
LL| |
|
|
LL| 1|fn main() {
|
|
LL| 1| println!("hello world!");
|
|
LL| 1|}
|
|
|