Skip to content

Commit c1091da

Browse files
Fix existing messages in stderrs
1 parent edd43c9 commit c1091da

24 files changed

Lines changed: 25 additions & 25 deletions

tests/rustdoc-ui/ice-bug-report-url.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LL | fn wrong()
99
aborting due to `-Z treat-err-as-bug=1`
1010
stack backtrace:
1111

12-
error: the compiler unexpectedly panicked. this is a bug.
12+
error: the compiler unexpectedly panicked. This is a bug
1313

1414
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-rustdoc&template=ice.md
1515

tests/ui/consts/const-eval/field-access-after-const-eval-fail-in-ty.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | [(); loop {}].field;
55
| ^^^^^^^
66
|
77
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
8-
If your compilation actually takes a long time, you can safely allow the lint.
8+
If your compilation actually takes a long time, you can safely allow the lint
99
help: the constant being evaluated
1010
--> $DIR/field-access-after-const-eval-fail-in-ty.rs:4:10
1111
|

tests/ui/consts/const-eval/infinite_loop.eval_limit.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | | }
88
| |_________^
99
|
1010
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
11-
If your compilation actually takes a long time, you can safely allow the lint.
11+
If your compilation actually takes a long time, you can safely allow the lint
1212
help: the constant being evaluated
1313
--> $DIR/infinite_loop.rs:13:18
1414
|

tests/ui/consts/const-eval/infinite_loop.no_ice.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | | }
88
| |_________^
99
|
1010
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
11-
If your compilation actually takes a long time, you can safely allow the lint.
11+
If your compilation actually takes a long time, you can safely allow the lint
1212
help: the constant being evaluated
1313
--> $DIR/infinite_loop.rs:13:18
1414
|

tests/ui/consts/const-eval/issue-52475.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LL | | }
99
| |_________^
1010
|
1111
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
12-
If your compilation actually takes a long time, you can safely allow the lint.
12+
If your compilation actually takes a long time, you can safely allow the lint
1313
help: the constant being evaluated
1414
--> $DIR/issue-52475.rs:2:18
1515
|

tests/ui/consts/const-eval/issue-70723.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | static _X: () = loop {};
55
| ^^^^^^^
66
|
77
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
8-
If your compilation actually takes a long time, you can safely allow the lint.
8+
If your compilation actually takes a long time, you can safely allow the lint
99
help: the constant being evaluated
1010
--> $DIR/issue-70723.rs:1:1
1111
|

tests/ui/consts/const-eval/stable-metric/ctfe-fn-call.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | foo();
55
| ^^^^^
66
|
77
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
8-
If your compilation actually takes a long time, you can safely allow the lint.
8+
If your compilation actually takes a long time, you can safely allow the lint
99
help: the constant being evaluated
1010
--> $DIR/ctfe-fn-call.rs:32:1
1111
|

tests/ui/consts/const-eval/stable-metric/ctfe-labelled-loop.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LL | | }
1111
| |_____^
1212
|
1313
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
14-
If your compilation actually takes a long time, you can safely allow the lint.
14+
If your compilation actually takes a long time, you can safely allow the lint
1515
help: the constant being evaluated
1616
--> $DIR/ctfe-labelled-loop.rs:16:1
1717
|

tests/ui/consts/const-eval/stable-metric/ctfe-recursion.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | recurse(n - 1)
55
| ^^^^^^^^^^^^^^
66
|
77
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
8-
If your compilation actually takes a long time, you can safely allow the lint.
8+
If your compilation actually takes a long time, you can safely allow the lint
99
help: the constant being evaluated
1010
--> $DIR/ctfe-recursion.rs:13:1
1111
|

tests/ui/consts/const-eval/stable-metric/ctfe-simple-loop.warn.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LL | | }
77
| |_____^
88
|
99
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
10-
If your compilation actually takes a long time, you can safely allow the lint.
10+
If your compilation actually takes a long time, you can safely allow the lint
1111
help: the constant being evaluated
1212
--> $DIR/ctfe-simple-loop.rs:19:1
1313
|
@@ -28,7 +28,7 @@ LL | | }
2828
| |_____^
2929
|
3030
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
31-
If your compilation actually takes a long time, you can safely allow the lint.
31+
If your compilation actually takes a long time, you can safely allow the lint
3232
help: the constant being evaluated
3333
--> $DIR/ctfe-simple-loop.rs:20:1
3434
|

0 commit comments

Comments
 (0)