diff options
Diffstat (limited to 'third_party/rust/inherent/tests/ui/blanket-impl.stderr')
-rw-r--r-- | third_party/rust/inherent/tests/ui/blanket-impl.stderr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/inherent/tests/ui/blanket-impl.stderr b/third_party/rust/inherent/tests/ui/blanket-impl.stderr new file mode 100644 index 0000000000..9b38b927c4 --- /dev/null +++ b/third_party/rust/inherent/tests/ui/blanket-impl.stderr @@ -0,0 +1,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 |