diff options
| author | Michael Goulet <michael@errs.io> | 2023-11-23 06:40:40 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-11-25 22:10:38 +0000 |
| commit | 3e769c55b885b763bbad4e2341ac78d08d81c1ec (patch) | |
| tree | 7d2b2f49f73582c94194421dce6c0ad0ca19ee8c /compiler/rustc_middle/src | |
| parent | 0f9ab6371d6ded2aec6bcfbc17279485b855f0f7 (diff) | |
Remove some more unused codepaths in (region) error reporting
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/traits/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/traits/mod.rs b/compiler/rustc_middle/src/traits/mod.rs index bda229c1263..6cc4803c910 100644 --- a/compiler/rustc_middle/src/traits/mod.rs +++ b/compiler/rustc_middle/src/traits/mod.rs @@ -340,7 +340,8 @@ pub enum ObligationCauseCode<'tcx> { parent_code: InternedObligationCauseCode<'tcx>, }, - /// Error derived when matching traits/impls; see ObligationCause for more details + /// Error derived when checking an impl item is compatible with + /// its corresponding trait item's definition CompareImplItemObligation { impl_item_def_id: LocalDefId, trait_item_def_id: DefId, |
