diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-06-13 10:57:00 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-06-13 13:54:06 +0000 |
| commit | 1d41c2c01c9d32b22b1b702cfe04e2f7aae477af (patch) | |
| tree | 1fb04c99c60a9c29b08ca46cbf44888b4c239721 /compiler/rustc_middle/src/traits/mod.rs | |
| parent | ed44c0e3b3a4f90c464361ec6892c1d42c15ea8f (diff) | |
| download | rust-1d41c2c01c9d32b22b1b702cfe04e2f7aae477af.tar.gz rust-1d41c2c01c9d32b22b1b702cfe04e2f7aae477af.zip | |
Merge unboxed trait object error suggestion into regular dyn incompat error
Diffstat (limited to 'compiler/rustc_middle/src/traits/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/traits/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/traits/mod.rs b/compiler/rustc_middle/src/traits/mod.rs index 27079af06fc..d877bd5c626 100644 --- a/compiler/rustc_middle/src/traits/mod.rs +++ b/compiler/rustc_middle/src/traits/mod.rs @@ -397,6 +397,8 @@ pub enum ObligationCauseCode<'tcx> { RustCall, + DynCompatible(Span), + /// Obligations to prove that a `Drop` or negative auto trait impl is not stronger than /// the ADT it's being implemented for. AlwaysApplicableImpl, |
