]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-40827.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-40827.stderr
index dd0ebf96d19e4cfd5b23e5fb67de87b8345c7161..96b411bfb1d228a076da2b2b311d03c7d4860fd2 100644 (file)
@@ -1,5 +1,5 @@
 error[E0277]: `std::rc::Rc<Foo>` cannot be sent between threads safely
-  --> $DIR/issue-40827.rs:24:5
+  --> $DIR/issue-40827.rs:14:5
    |
 LL |     f(Foo(Arc::new(Bar::B(None))));
    |     ^ `std::rc::Rc<Foo>` cannot be sent between threads safely
@@ -9,13 +9,13 @@ LL |     f(Foo(Arc::new(Bar::B(None))));
    = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc<Bar>`
    = note: required because it appears within the type `Foo`
 note: required by `f`
-  --> $DIR/issue-40827.rs:21:1
+  --> $DIR/issue-40827.rs:11:1
    |
 LL | fn f<T: Send>(_: T) {}
    | ^^^^^^^^^^^^^^^^^^^
 
 error[E0277]: `std::rc::Rc<Foo>` cannot be shared between threads safely
-  --> $DIR/issue-40827.rs:24:5
+  --> $DIR/issue-40827.rs:14:5
    |
 LL |     f(Foo(Arc::new(Bar::B(None))));
    |     ^ `std::rc::Rc<Foo>` cannot be shared between threads safely
@@ -25,7 +25,7 @@ LL |     f(Foo(Arc::new(Bar::B(None))));
    = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc<Bar>`
    = note: required because it appears within the type `Foo`
 note: required by `f`
-  --> $DIR/issue-40827.rs:21:1
+  --> $DIR/issue-40827.rs:11:1
    |
 LL | fn f<T: Send>(_: T) {}
    | ^^^^^^^^^^^^^^^^^^^