Skip to content

Commit 3927677

Browse files
committed
Dogfood and bless tests
1 parent 0fc051d commit 3927677

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

clippy_utils/src/sugg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ impl<'tcx> Delegate<'tcx> for DerefDelegate<'_, 'tcx> {
10101010
projections_handled = true;
10111011
},
10121012
// note: unable to trigger `Subslice` kind in tests
1013-
ProjectionKind::Subslice => (),
1013+
ProjectionKind::Subslice |
10141014
// Doesn't have surface syntax. Only occurs in patterns.
10151015
ProjectionKind::OpaqueCast => (),
10161016
ProjectionKind::Deref => {

tests/ui-internal/custom_ice_message.stderr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
thread '<unnamed>' panicked at 'Would you like some help with that?', clippy_lints/src/utils/internal_lints/produce_ice.rs
1+
thread '<unnamed>' panicked at clippy_lints/src/utils/internal_lints/produce_ice.rs:
2+
Would you like some help with that?
23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
34

45
error: the compiler unexpectedly panicked. this is a bug.

0 commit comments

Comments
 (0)