diff options
Diffstat (limited to 'tests/ui/error-codes/E0067.rs')
-rw-r--r-- | tests/ui/error-codes/E0067.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0067.rs b/tests/ui/error-codes/E0067.rs new file mode 100644 index 000000000..5925443dd --- /dev/null +++ b/tests/ui/error-codes/E0067.rs @@ -0,0 +1,6 @@ +use std::collections::LinkedList; + +fn main() { + LinkedList::new() += 1; //~ ERROR E0368 + //~^ ERROR E0067 +} |