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
This currently passes compilation while it shouldn't:
#![feature(trait_alias)]traitA = ?Sized + ?Sized;// should be rejected due to duplicate relaxed trait boundstraitB = ?Iterator;// should be rejected since `Iterator` is not a default trait// (also doesn't error if referenced — in case anyone was wondering)//fn f<T: A + B>() {}