Add a test for mismatched crate metadata in use statements
This commit is contained in:
parent
f7a2f01746
commit
22be98264e
1 changed files with 5 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue