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
Auto merge of #55994 - alexreg:fix-trait-alias-1, r=nikomatsakis
Disallow multiple regular traits in trait objects when trait aliases used This ensures code like the following fails to compile. ```rust #![feature(trait_alias)] trait Foo = std::io::Read + std::io::Write; fn main() { let foo: Box<dyn Foo>; } ``` CC @nikomatsakis@scalexm
0 commit comments