rust/tests/ui/imports/issue-45799-bad-extern-crat...

6 lines
122 B
Rust

//@ run-rustfix
extern crate std as other_std;
fn main() {}
//~^^ ERROR the name `std` is defined multiple times [E0259]