summaryrefslogtreecommitdiffstats
path: root/tests/ui/crate-loading/invalid-rlib.stderr
blob: 63bb1b95cbb780a44ae9d09d95a62d8bcc53fe81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error[E0786]: found invalid metadata files for crate `foo`
  --> $DIR/invalid-rlib.rs:7:7
   |
LL | use ::foo;
   |       ^^^
   |
   = note: failed to mmap file 'auxiliary/libfoo.rlib'

error[E0786]: found invalid metadata files for crate `foo`
  --> $DIR/invalid-rlib.rs:7:7
   |
LL | use ::foo;
   |       ^^^
   |
   = note: failed to mmap file 'auxiliary/libfoo.rlib'
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0786`.