]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/unsafe-mod.stderr
Auto merge of #84876 - alexcrichton:inline-thread-locals-cross-crate, r=Mark-Simulacrum
[rust.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" or "$DIR/n/mod.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`.