mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
7 lines
138 B
Rust
7 lines
138 B
Rust
|
use std::collections::LinkedList;
|
||
|
|
||
|
fn main() {
|
||
|
LinkedList::new() += 1; //~ ERROR E0368
|
||
|
//~^ ERROR E0067
|
||
|
}
|