diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-28 01:28:32 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-04 17:45:18 +0000 |
| commit | 3d62b279ddc2095b94aa5921540b27f3003365ff (patch) | |
| tree | 5444523a2fbfeceb8165ab86e2b5d64e7a76338c /compiler/rustc_trait_selection/src | |
| parent | fd17deacce374a4185c882795be162e17b557050 (diff) | |
| download | rust-3d62b279ddc2095b94aa5921540b27f3003365ff.tar.gz rust-3d62b279ddc2095b94aa5921540b27f3003365ff.zip | |
Ensure that negative auto impls are always applicable
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs b/compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs index b85c18c5312..0178400414c 100644 --- a/compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs +++ b/compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs @@ -2695,7 +2695,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> { | ObligationCauseCode::LetElse | ObligationCauseCode::BinOp { .. } | ObligationCauseCode::AscribeUserTypeProvePredicate(..) - | ObligationCauseCode::DropImpl + | ObligationCauseCode::AlwaysApplicableImpl | ObligationCauseCode::ConstParam(_) | ObligationCauseCode::ReferenceOutlivesReferent(..) | ObligationCauseCode::ObjectTypeBound(..) => {} |
