diff options
Diffstat (limited to 'src/test/ui/mismatched_types/assignment-operator-unimplemented.rs')
-rw-r--r-- | src/test/ui/mismatched_types/assignment-operator-unimplemented.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/mismatched_types/assignment-operator-unimplemented.rs b/src/test/ui/mismatched_types/assignment-operator-unimplemented.rs deleted file mode 100644 index 21df464d5..000000000 --- a/src/test/ui/mismatched_types/assignment-operator-unimplemented.rs +++ /dev/null @@ -1,7 +0,0 @@ -struct Foo; - -fn main() { - let mut a = Foo; - let ref b = Foo; - a += *b; //~ Error: binary assignment operation `+=` cannot be applied to type `Foo` -} |