about summary refs log tree commit diff
path: root/tests/ui/type-alias-impl-trait/drop-analysis-on-unconstrained-tait.stderr
blob: db97954f6985cea7a9e30ffff62af18a9649a531 (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained opaque type
  --> $DIR/drop-analysis-on-unconstrained-tait.rs:5:24
   |
LL | pub type OpaqueBlock = impl Trait;
   |                        ^^^^^^^^^^
   |
   = note: `OpaqueBlock` must be used in combination with a concrete type within the same crate

error: aborting due to 1 previous error