mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-12 23:13:15 +00:00
Add a test for mismatched crate metadata in use statements
This commit is contained in:
parent
f7a2f01746
commit
22be98264e
5
src/test/compile-fail/use-meta-mismatch.rs
Normal file
5
src/test/compile-fail/use-meta-mismatch.rs
Normal file
@ -0,0 +1,5 @@
|
||||
// error-pattern:can't find crate for 'std'
|
||||
|
||||
use std (complex(meta(item)));
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue
Block a user