Skip to content

Commit 00dee9d

Browse files
committed
Update reference files
1 parent 3579b7d commit 00dee9d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/ui/crashes/ice-360.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LL | loop {}
1919
| ^^^^^^^
2020
|
2121
= note: `-D clippy::empty-loop` implied by `-D warnings`
22-
= help: You should either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
22+
= help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body
2323

2424
error: aborting due to 2 previous errors
2525

tests/ui/empty_loop.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ LL | loop {}
55
| ^^^^^^^
66
|
77
= note: `-D clippy::empty-loop` implied by `-D warnings`
8-
= help: You should either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
8+
= help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body
99

1010
error: empty `loop {}` wastes CPU cycles
1111
--> $DIR/empty_loop.rs:11:9
1212
|
1313
LL | loop {}
1414
| ^^^^^^^
1515
|
16-
= help: You should either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
16+
= help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body
1717

1818
error: empty `loop {}` wastes CPU cycles
1919
--> $DIR/empty_loop.rs:15:9
2020
|
2121
LL | 'inner: loop {}
2222
| ^^^^^^^^^^^^^^^
2323
|
24-
= help: You should either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
24+
= help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body
2525

2626
error: aborting due to 3 previous errors
2727

tests/ui/empty_loop_no_std.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ LL | loop {}
55
| ^^^^^^^
66
|
77
= note: `-D clippy::empty-loop` implied by `-D warnings`
8-
= help: You should either use `panic!()` or add a call pausing or sleeping the thread to the loop body.
8+
= help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body
99

1010
error: empty `loop {}` wastes CPU cycles
1111
--> $DIR/empty_loop_no_std.rs:26:5
1212
|
1313
LL | loop {}
1414
| ^^^^^^^
1515
|
16-
= help: You should either use `panic!()` or add a call pausing or sleeping the thread to the loop body.
16+
= help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body
1717

1818
error: aborting due to 2 previous errors
1919

0 commit comments

Comments
 (0)