Skip to content

Commit 9f978b7

Browse files
update tests
1 parent cc9db52 commit 9f978b7

6 files changed

+8
-4
lines changed

src/test/ui/check-static-values-constraints.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ LL | let y = { static x: Box<isize> = box 3; x };
108108

109109
error: aborting due to 17 previous errors
110110

111-
Some errors have detailed explanations: E0010, E0015, E0019, E0507.
111+
Some errors have detailed explanations: E0010, E0015, E0019, E0493, E0507.
112112
For more information about an error, try `rustc --explain E0010`.

src/test/ui/consts/const-eval/const_let.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ LL | const Z2: () = { let mut x; x = None; x = Some(FakeNeedsDrop); };
2424

2525
error: aborting due to 4 previous errors
2626

27+
For more information about this error, try `rustc --explain E0493`.

src/test/ui/consts/min_const_fn/min_const_fn.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,5 +328,5 @@ LL | const fn no_fn_ptrs2() -> fn() { fn foo() {} foo }
328328

329329
error: aborting due to 36 previous errors
330330

331-
Some errors have detailed explanations: E0515, E0723.
332-
For more information about an error, try `rustc --explain E0515`.
331+
Some errors have detailed explanations: E0493, E0515, E0723.
332+
For more information about an error, try `rustc --explain E0493`.

src/test/ui/consts/miri_unleashed/feature-gate-unleash_the_miri_inside_of_you.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ LL | const X: Vec<u32> = Vec::new();
1414

1515
error: aborting due to 2 previous errors
1616

17+
For more information about this error, try `rustc --explain E0493`.

src/test/ui/span/E0493.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ LL | const F : Foo = (Foo { a : 0 }, Foo { a : 1 }).1;
66

77
error: aborting due to previous error
88

9+
For more information about this error, try `rustc --explain E0493`.

src/test/ui/static/static-drop-scope.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ LL | const EARLY_DROP_C_OPTION_CONSTANT: i32 = (HELPER, 0).1;
6868

6969
error: aborting due to 10 previous errors
7070

71-
For more information about this error, try `rustc --explain E0716`.
71+
Some errors have detailed explanations: E0493, E0716.
72+
For more information about an error, try `rustc --explain E0493`.

0 commit comments

Comments
 (0)