You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We try to infer `T::Rigid: Into<?0>` and have 2 candidates from where-clauses://// - `Into<String>`// - `Into<<T::Rigid as Elaborate>::Assoc>`//// This causes ambiguity unless we normalize the alias in the second candidate// to detect that they actually result in the same constraints.traitTrait{typeRigid:Elaborate<Assoc = String> + Into<String> + Default;}traitElaborate:Into<Self::Assoc>{typeAssoc;}fntest<T:Trait>(){let rigid:T::Rigid = Default::default();drop(rigid.into());}fnmain(){}
THis test currently results in ambiguity in the new solver.
THis test currently results in ambiguity in the new solver.
Strongly related to
The text was updated successfully, but these errors were encountered: