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

error: aborting due to previous error