about summary refs log tree commit diff
path: root/src/test/compile-fail/no_send-rc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/no_send-rc.rs')
-rw-r--r--src/test/compile-fail/no_send-rc.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/no_send-rc.rs b/src/test/compile-fail/no_send-rc.rs
index d884ff7f231..20f1cbc47bc 100644
--- a/src/test/compile-fail/no_send-rc.rs
+++ b/src/test/compile-fail/no_send-rc.rs
@@ -14,5 +14,7 @@ fn bar<T: Send>(_: T) {}
 
 fn main() {
     let x = Rc::new(5);
-    bar(x); //~ ERROR instantiating a type parameter with an incompatible type `std::rc::Rc<int>`, which does not fulfill `Send`
+    bar(x);
+    //~^ ERROR instantiating a type parameter with an incompatible type `std::rc::Rc<int>`,
+    //         which does not fulfill `Send`
 }