Add test case from issue #675. The previous fix actually fixes this too.
This commit is contained in:
parent
5e1a6dac44
commit
6b86dcde67
1 changed files with 5 additions and 0 deletions
5
src/test/compile-fail/fail-type-err.rs
Normal file
5
src/test/compile-fail/fail-type-err.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
// error-pattern:expected str but found vec
|
||||
// xfail-stage0
|
||||
fn main() {
|
||||
fail [];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue