Add test case for non-matching crate metadata in use statements
This commit is contained in:
parent
8ac60e99ea
commit
46b83a92d6
1 changed files with 4 additions and 0 deletions
4
src/test/compile-fail/use-meta.rc
Normal file
4
src/test/compile-fail/use-meta.rc
Normal file
|
@ -0,0 +1,4 @@
|
|||
// error-pattern:can't find crate for 'std'
|
||||
|
||||
use std (name = "std",
|
||||
vers = "bogus");
|
Loading…
Add table
Add a link
Reference in a new issue