summaryrefslogtreecommitdiffstats
path: root/third_party/rust/inherent/tests/ui/blanket-impl.stderr
blob: 9b38b927c4943f263a5db216ea0729abcd98135b (plain)
1
2
3
4
5
6
7
error[E0118]: no nominal type found for inherent implementation
 --> tests/ui/blanket-impl.rs:8:15
  |
8 | impl<T> A for T {
  |               ^ impl requires a nominal type
  |
  = note: either implement a trait on it or create a newtype to wrap it instead