summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extern/extern-type-diag-not-similar.stderr
blob: 75836f7eca19c794221e25a0a3846e937880e0d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0277]: `Foo` cannot be sent between threads safely
  --> $DIR/extern-type-diag-not-similar.rs:20:19
   |
LL |     assert_send::<Foo>()
   |                   ^^^ `Foo` cannot be sent between threads safely
   |
   = help: the trait `Send` is not implemented for `Foo`
note: required by a bound in `assert_send`
  --> $DIR/extern-type-diag-not-similar.rs:17:19
   |
LL | fn assert_send<T: Send + ?Sized>() {}
   |                   ^^^^ required by this bound in `assert_send`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.