Rollup merge of #88875 - notriddle:notriddle/cleanup-unused-trait-selection, r=Mark-Simulacrum
cleanup(rustc_trait_selection): remove vestigial code from rustc_on_unimplemented
This isn't allowed by the validator, and seems to be unused.
When it was added in ed10a3faae
,
it was used on `Sized`, and that usage is gone.
This commit is contained in:
commit
b66c9c3ac1
2 changed files with 0 additions and 4 deletions
|
@ -934,7 +934,6 @@ symbols! {
|
||||||
panic_unwind,
|
panic_unwind,
|
||||||
panicking,
|
panicking,
|
||||||
param_attrs,
|
param_attrs,
|
||||||
parent_trait,
|
|
||||||
partial_cmp,
|
partial_cmp,
|
||||||
partial_ord,
|
partial_ord,
|
||||||
passes,
|
passes,
|
||||||
|
|
|
@ -154,9 +154,6 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
|
||||||
flags.push((sym::from_method, Some(method.to_string())));
|
flags.push((sym::from_method, Some(method.to_string())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Some((t, _)) = self.get_parent_trait_ref(&obligation.cause.code) {
|
|
||||||
flags.push((sym::parent_trait, Some(t)));
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(k) = obligation.cause.span.desugaring_kind() {
|
if let Some(k) = obligation.cause.span.desugaring_kind() {
|
||||||
flags.push((sym::from_desugaring, None));
|
flags.push((sym::from_desugaring, None));
|
||||||
|
|
Loading…
Add table
Reference in a new issue