diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/rmeta/emit-artifact-notifications.stderr | 2 | ||||
-rw-r--r-- | tests/ui/rmeta/no_optitimized_mir.stderr | 2 | ||||
-rw-r--r-- | tests/ui/rmeta/rmeta.stderr | 2 | ||||
-rw-r--r-- | tests/ui/rmeta/rmeta_lib.stderr | 2 | ||||
-rw-r--r-- | tests/ui/rmeta/rmeta_meta_main.stderr | 9 |
5 files changed, 11 insertions, 6 deletions
diff --git a/tests/ui/rmeta/emit-artifact-notifications.stderr b/tests/ui/rmeta/emit-artifact-notifications.stderr index b2f0aa757..4f68a2d74 100644 --- a/tests/ui/rmeta/emit-artifact-notifications.stderr +++ b/tests/ui/rmeta/emit-artifact-notifications.stderr @@ -1 +1 @@ -{"artifact":"$TEST_BUILD_DIR/rmeta/emit-artifact-notifications/libemit_artifact_notifications.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"$TEST_BUILD_DIR/rmeta/emit-artifact-notifications/libemit_artifact_notifications.rmeta","emit":"metadata"} diff --git a/tests/ui/rmeta/no_optitimized_mir.stderr b/tests/ui/rmeta/no_optitimized_mir.stderr index a17024c53..92f22d780 100644 --- a/tests/ui/rmeta/no_optitimized_mir.stderr +++ b/tests/ui/rmeta/no_optitimized_mir.stderr @@ -6,5 +6,5 @@ note: missing optimized MIR for this item (was the crate `rmeta_meta` compiled w LL | pub fn missing_optimized_mir() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/rmeta/rmeta.stderr b/tests/ui/rmeta/rmeta.stderr index d15caeb66..85452ea41 100644 --- a/tests/ui/rmeta/rmeta.stderr +++ b/tests/ui/rmeta/rmeta.stderr @@ -4,6 +4,6 @@ error[E0425]: cannot find value `Foo` in this scope LL | let _ = Foo; | ^^^ not found in this scope -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0425`. diff --git a/tests/ui/rmeta/rmeta_lib.stderr b/tests/ui/rmeta/rmeta_lib.stderr index 8a9179cca..830169e03 100644 --- a/tests/ui/rmeta/rmeta_lib.stderr +++ b/tests/ui/rmeta/rmeta_lib.stderr @@ -1,4 +1,4 @@ error: crate `rmeta_meta` required to be available in rlib format, but was not found in this form -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/rmeta/rmeta_meta_main.stderr b/tests/ui/rmeta/rmeta_meta_main.stderr index 0c6ed9afd..af11c88d9 100644 --- a/tests/ui/rmeta/rmeta_meta_main.stderr +++ b/tests/ui/rmeta/rmeta_meta_main.stderr @@ -2,8 +2,13 @@ error[E0560]: struct `Foo` has no field named `field2` --> $DIR/rmeta_meta_main.rs:13:19 | LL | let _ = Foo { field2: 42 }; - | ^^^^^^ help: a field with a similar name exists: `field` + | ^^^^^^ unknown field + | +help: a field with a similar name exists + | +LL | let _ = Foo { field: 42 }; + | ~~~~~ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0560`. |