diff options
Diffstat (limited to 'src/test/ui/builtin-superkinds/builtin-superkinds-simple.rs')
-rw-r--r-- | src/test/ui/builtin-superkinds/builtin-superkinds-simple.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/builtin-superkinds/builtin-superkinds-simple.rs b/src/test/ui/builtin-superkinds/builtin-superkinds-simple.rs deleted file mode 100644 index 1620f8d5c..000000000 --- a/src/test/ui/builtin-superkinds/builtin-superkinds-simple.rs +++ /dev/null @@ -1,9 +0,0 @@ -// 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 `Rc<i8>` cannot be sent between threads safely - -fn main() { } |