diff options
| author | lcnr <rust@lcnr.de> | 2025-03-12 10:12:02 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-03-12 10:12:53 +0100 |
| commit | adbcb910f0fc63b9a4bf6daa89c1a534a08b1f02 (patch) | |
| tree | b797377e427c312aea529d5f3f030ad9476ccb1d /compiler/rustc_middle/src/traits/mod.rs | |
| parent | a21d9789e24c8e0a070cf58830422f5b1c68a1f2 (diff) | |
| download | rust-adbcb910f0fc63b9a4bf6daa89c1a534a08b1f02.tar.gz rust-adbcb910f0fc63b9a4bf6daa89c1a534a08b1f02.zip | |
remove unnecessary variant
Diffstat (limited to 'compiler/rustc_middle/src/traits/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/traits/mod.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/traits/mod.rs b/compiler/rustc_middle/src/traits/mod.rs index 53f233f20eb..7e6151745e2 100644 --- a/compiler/rustc_middle/src/traits/mod.rs +++ b/compiler/rustc_middle/src/traits/mod.rs @@ -980,12 +980,9 @@ pub enum CodegenObligationError { /// overflow bug, since I believe this is the only case /// where ambiguity can result. Ambiguity, - /// This can trigger when we probe for the source of a `'static` lifetime requirement - /// on a trait object: `impl Foo for dyn Trait {}` has an implicit `'static` bound. - /// This can also trigger when we have a global bound that is not actually satisfied, - /// but was included during typeck due to the trivial_bounds feature. + /// This can trigger when we have a global bound that is not actually satisfied + /// due to trivial bounds. Unimplemented, - FulfillmentError, /// The selected impl has unconstrained generic parameters. This will emit an error /// during impl WF checking. UnconstrainedParam(ErrorGuaranteed), |
