]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/unsafe-mod.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / parser / unsafe-mod.stderr
1 error[E0583]: file not found for module `n`
2 --> $DIR/unsafe-mod.rs:5:1
3 |
4 LL | unsafe mod n;
5 | ^^^^^^^^^^^^^
6 |
7 = help: to create the module `n`, create file "$DIR/n.rs"
8
9 error: module cannot be declared unsafe
10 --> $DIR/unsafe-mod.rs:1:1
11 |
12 LL | unsafe mod m {
13 | ^^^^^^
14
15 error: module cannot be declared unsafe
16 --> $DIR/unsafe-mod.rs:5:1
17 |
18 LL | unsafe mod n;
19 | ^^^^^^
20
21 error: aborting due to 3 previous errors
22
23 For more information about this error, try `rustc --explain E0583`.