Skip to content

Commit 57073d2

Browse files
committed
c
1 parent 96b81e3 commit 57073d2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,10 +400,8 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
400400
// `std::marker::Sized` is not implemented for `T`" as we will point
401401
// at the type param with a label to suggest constraining it.
402402
&& !self.tcx.is_diagnostic_item(sym::FromResidual, leaf_trait_predicate.def_id())
403-
==== BASE ====
404403
// Don't say "the trait `FromResidual<Option<Infallible>>` is
405404
// not implemented for `Result<T, E>`".
406-
==== BASE ====
407405
{
408406
// We do this just so that the JSON output's `help` position is the
409407
// right one and not `file.rs:1:1`. The render is the same.

0 commit comments

Comments
 (0)