summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type-alias-impl-trait/cross_inference_pattern_bug_no_type.stderr
blob: 8aa1f495639951ff05e51d906d728a69dd8fd9bf (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained opaque type
  --> $DIR/cross_inference_pattern_bug_no_type.rs:10:14
   |
LL |     type T = impl Copy;  // error: unconstrained opaque type
   |              ^^^^^^^^^
   |
   = note: `T` must be used in combination with a concrete type within the same module

error: aborting due to previous error