From 79afc6e9e880244bf841ae85d02505b257a28343 Mon Sep 17 00:00:00 2001 From: Matthew Russo Date: Tue, 21 Aug 2018 21:12:23 -0400 Subject: updates tests to use new error code --- src/test/ui/structs/structure-constructor-type-mismatch.stderr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/ui/structs') 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:: { //~ 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:: { .. } => {} //~ ERROR wrong number of type arguments @@ -135,5 +135,5 @@ LL | PairF:: { .. } => {} //~ 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`. -- cgit 1.4.1-3-g733a5