summaryrefslogtreecommitdiffstats
path: root/third_party/rust/inherent/tests/ui/not-trait-impl.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/inherent/tests/ui/not-trait-impl.stderr')
-rw-r--r--third_party/rust/inherent/tests/ui/not-trait-impl.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/inherent/tests/ui/not-trait-impl.stderr b/third_party/rust/inherent/tests/ui/not-trait-impl.stderr
new file mode 100644
index 0000000000..ea723e86b0
--- /dev/null
+++ b/third_party/rust/inherent/tests/ui/not-trait-impl.stderr
@@ -0,0 +1,7 @@
+error: must be placed on a trait impl
+ --> tests/ui/not-trait-impl.rs:5:1
+ |
+5 | #[inherent]
+ | ^^^^^^^^^^^
+ |
+ = note: this error originates in the attribute macro `inherent` (in Nightly builds, run with -Z macro-backtrace for more info)