about summary refs log tree commit diff
path: root/tests/ui/async-await/higher-ranked-auto-trait-5.no_assumptions.stderr
blob: 8fa3c7483c89dbd625d5b5a5084a82c9bc7a79cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: implementation of `Send` is not general enough
  --> $DIR/higher-ranked-auto-trait-5.rs:13:5
   |
LL | /     assert_send(async {
LL | |         call_me.call().await;
LL | |     });
   | |______^ implementation of `Send` is not general enough
   |
   = note: `Send` would have to be implemented for the type `&'0 str`, for any lifetime `'0`...
   = note: ...but `Send` is actually implemented for the type `&'1 str`, for some specific lifetime `'1`

error: aborting due to 1 previous error