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
#![feature(associated_types)]
trait Trait {
type Output;
// Here `Output` is `Sized`
fn is(&self) -> Self::Output;
// But, here it seems that `Output` it's no longer `Sized`
fn isnt(&self) -> Self::Output {}
//~^ error: the trait `core::kinds::Sized` is not implemented for the type `Output`
}
fn main() {}
STR
Version
cc @nikomatsakis @nick29581
The text was updated successfully, but these errors were encountered: