// ICE 'broken MIR: bad assignment: NoSolution' // on trait with default method and no impls // issue: rust-lang/rust#109869 type Spanned = (T, ()); trait Span {} impl Span for (T, ()) {} impl> From> for dyn Span where Self: Sized { fn from((from, ()): Spanned) -> Self { (T::from(from), ()) //~^ ERROR mismatched types } } pub fn main() {}