]> git.lizzy.rs Git - rust.git/blob - src/test/ui/extern/extern-type-diag-not-similar.stderr
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / extern / extern-type-diag-not-similar.stderr
1 error[E0277]: `Foo` cannot be sent between threads safely
2   --> $DIR/extern-type-diag-not-similar.rs:20:19
3    |
4 LL |     assert_send::<Foo>()
5    |                   ^^^ `Foo` cannot be sent between threads safely
6    |
7    = help: the trait `Send` is not implemented for `Foo`
8 note: required by a bound in `assert_send`
9   --> $DIR/extern-type-diag-not-similar.rs:17:19
10    |
11 LL | fn assert_send<T: Send + ?Sized>() {}
12    |                   ^^^^ required by this bound in `assert_send`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.