rust/tests/ui/error-codes/E0214.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
71 B
Rust
Raw Normal View History

2016-08-03 23:51:52 +00:00
fn main() {
2016-08-07 17:21:23 +00:00
let v: Vec(&str) = vec!["foo"];
//~^ ERROR E0214
2016-08-03 23:51:52 +00:00
}