about summary refs log tree commit diff
path: root/src/test/ui/structs
diff options
context:
space:
mode:
authorMatthew Russo <mcr431@nyu.edu>2018-08-21 21:12:23 -0400
committerMatthew Russo <mcr431@nyu.edu>2018-08-24 08:51:25 -0400
commit79afc6e9e880244bf841ae85d02505b257a28343 (patch)
tree685248ef715d9b5f1dac58207340f51e24989702 /src/test/ui/structs
parent34e76375ce08a73b4e9a14a8b2bff817b6586478 (diff)
downloadrust-79afc6e9e880244bf841ae85d02505b257a28343.tar.gz
rust-79afc6e9e880244bf841ae85d02505b257a28343.zip
updates tests to use new error code
Diffstat (limited to 'src/test/ui/structs')
-rw-r--r--src/test/ui/structs/structure-constructor-type-mismatch.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/structs/structure-constructor-type-mismatch.stderr b/src/test/ui/structs/structure-constructor-type-mismatch.stderr
index dfa219e0872..97a64bf3b55 100644
--- a/src/test/ui/structs/structure-constructor-type-mismatch.stderr
+++ b/src/test/ui/structs/structure-constructor-type-mismatch.stderr
@@ -70,7 +70,7 @@ LL |         x: 7,
    = note: expected type `f32`
               found type `{integer}`
 
-error[E0244]: wrong number of type arguments: expected 0, found 1
+error[E0107]: wrong number of type arguments: expected 0, found 1
   --> $DIR/structure-constructor-type-mismatch.rs:58:24
    |
 LL |     let pt3 = PointF::<i32> { //~ ERROR wrong number of type arguments
@@ -100,7 +100,7 @@ LL |         y: 10, //~ ERROR mismatched types
    = note: expected type `f32`
               found type `{integer}`
 
-error[E0244]: wrong number of type arguments: expected 0, found 1
+error[E0107]: wrong number of type arguments: expected 0, found 1
   --> $DIR/structure-constructor-type-mismatch.rs:64:18
    |
 LL |         PointF::<u32> { .. } => {} //~ ERROR wrong number of type arguments
@@ -135,5 +135,5 @@ LL |         PairF::<u32> { .. } => {} //~ ERROR mismatched types
 
 error: aborting due to 13 previous errors
 
-Some errors occurred: E0244, E0308.
-For more information about an error, try `rustc --explain E0244`.
+Some errors occurred: E0107, E0308.
+For more information about an error, try `rustc --explain E0107`.