2021-08-26 13:37:44 -05:00
|
|
|
//@ compile-flags: --crate-type lib --extern foo={{src-base}}/crate-loading/auxiliary/libfoo.rlib
|
|
|
|
//@ normalize-stderr-test: "failed to mmap file '.*auxiliary/libfoo.rlib':.*" -> "failed to mmap file 'auxiliary/libfoo.rlib'"
|
|
|
|
// don't emit warn logging, it's basically the same as the errors and it's annoying to normalize
|
|
|
|
//@ rustc-env:RUSTC_LOG=error
|
|
|
|
//@ edition:2018
|
|
|
|
#![no_std]
|
|
|
|
use ::foo; //~ ERROR invalid metadata files for crate `foo`
|
|
|
|
//~| NOTE failed to mmap file
|
2021-11-26 15:39:44 -06:00
|
|
|
//~^^ ERROR invalid metadata files for crate `foo`
|
|
|
|
//~| NOTE failed to mmap file
|
2023-10-04 13:34:50 -05:00
|
|
|
//~| NOTE duplicate diagnostic
|