diff options
Diffstat (limited to 'src/test/ui/no_send-rc.rs')
-rw-r--r-- | src/test/ui/no_send-rc.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/no_send-rc.rs b/src/test/ui/no_send-rc.rs deleted file mode 100644 index f31db15ef..000000000 --- a/src/test/ui/no_send-rc.rs +++ /dev/null @@ -1,9 +0,0 @@ -use std::rc::Rc; - -fn bar<T: Send>(_: T) {} - -fn main() { - let x = Rc::new(5); - bar(x); - //~^ ERROR `Rc<{integer}>` cannot be sent between threads safely -} |