about summary refs log tree commit diff
path: root/tests/ui/impl-trait/opt-out-bound-not-satisfied.stderr
blob: f99d6a7e5f6d0507eb1969ca20a6902eea26b10c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: bound modifier `?` can only be applied to `Sized`
  --> $DIR/opt-out-bound-not-satisfied.rs:5:18
   |
LL | fn foo() -> impl ?Future<Output = impl Send> {
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: bound modifier `?` can only be applied to `Sized`
  --> $DIR/opt-out-bound-not-satisfied.rs:5:18
   |
LL | fn foo() -> impl ?Future<Output = impl Send> {
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 2 previous errors