fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
396 B14 linesraw
1$DIR/auxiliary/unused_mod_helper.rs:
2   LL|       |#[allow(dead_code)]
3   LL|      0|pub fn never_called_function() {
4   LL|      0|    println!("I am never called");
5   LL|      0|}
6
7$DIR/unused_mod.rs:
8   LL|       |#[path = "auxiliary/unused_mod_helper.rs"]
9   LL|       |mod unused_module;
10   LL|       |
11   LL|      1|fn main() {
12   LL|      1|    println!("hello world!");
13   LL|      1|}
14