diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2021-12-01 23:32:36 +0800 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2021-12-01 23:32:36 +0800 |
| commit | b64c40bc6f4ced6e418fe89d6754c86e5841f714 (patch) | |
| tree | 2b4a5ec40d2a20484bb32b46f13d9a5601574ea9 | |
| parent | 6b07cec05c614c34d211cff23f738f03d3026ae8 (diff) | |
| download | rust-b64c40bc6f4ced6e418fe89d6754c86e5841f714.tar.gz rust-b64c40bc6f4ced6e418fe89d6754c86e5841f714.zip | |
TODO => FIXME
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/wf.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/wf.rs b/compiler/rustc_trait_selection/src/traits/wf.rs index 2197dcc0486..5875b764e9f 100644 --- a/compiler/rustc_trait_selection/src/traits/wf.rs +++ b/compiler/rustc_trait_selection/src/traits/wf.rs @@ -300,7 +300,7 @@ impl<'a, 'tcx> WfPredicates<'a, 'tcx> { let mut cause = cause.clone(); if let Some(parent_trait_ref) = obligation.predicate.to_opt_poly_trait_pred() { let derived_cause = traits::DerivedObligationCause { - // TODO: sus + // FIXME(fee1-dead): when improving error messages, change this to PolyTraitPredicate parent_trait_ref: parent_trait_ref.map_bound(|t| t.trait_ref), parent_code: Lrc::new(obligation.cause.code.clone()), }; |
