blob: afafc0943834df59cb2cfa592b98cab6e387e8a9 [file] [log] [blame]
// Basic test for traits inheriting from the builtin kinds, checking
// the type contents of the implementing type (that's not a typaram).
trait Foo : Send { }
impl Foo for std::rc::Rc<i8> { }
//~^ ERROR `std::rc::Rc<i8>` cannot be sent between threads safely
fn main() { }