fork/rust

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

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

master
525 B23 linesraw
1error[E0583]: file not found for module `n`
2  --> $DIR/unsafe-mod.rs:5:1
3   |
4LL | unsafe mod n;
5   | ^^^^^^^^^^^^^
6   |
7   = help: to create the module `n`, create file "$DIR/n.rs" or "$DIR/n/mod.rs"
8
9error: module cannot be declared unsafe
10  --> $DIR/unsafe-mod.rs:1:1
11   |
12LL | unsafe mod m {
13   | ^^^^^^
14
15error: module cannot be declared unsafe
16  --> $DIR/unsafe-mod.rs:5:1
17   |
18LL | unsafe mod n;
19   | ^^^^^^
20
21error: aborting due to 3 previous errors
22
23For more information about this error, try `rustc --explain E0583`.