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

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

7 lines
138 B
Rust
Raw Normal View History

2016-05-20 13:18:30 +00:00
use std::collections::LinkedList;
fn main() {
LinkedList::new() += 1; //~ ERROR E0368
//~^ ERROR E0067
}