rust/tests/ui/error-codes/E0462.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
314 B
Rust
Raw Normal View History

//@ aux-build:found-staticlib.rs
//@ normalize-stderr: "E0462\..+/auxiliary/" -> "E0462/auxiliary/"
//@ normalize-stderr: "\\\?\\" -> ""
//@ normalize-stderr: "(lib)?found_staticlib\.[a-z]+" -> "libfound_staticlib.somelib"
extern crate found_staticlib; //~ ERROR E0462
fn main() {
found_staticlib::foo();
}