about summary refs log tree commit diff
path: root/tests/ui/methods/trait-method-self-param-error-7575.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/methods/trait-method-self-param-error-7575.stderr')
-rw-r--r--tests/ui/methods/trait-method-self-param-error-7575.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/methods/trait-method-self-param-error-7575.stderr b/tests/ui/methods/trait-method-self-param-error-7575.stderr
new file mode 100644
index 00000000000..5c10a7e1da9
--- /dev/null
+++ b/tests/ui/methods/trait-method-self-param-error-7575.stderr
@@ -0,0 +1,10 @@
+warning: trait `Foo` is never used
+  --> $DIR/trait-method-self-param-error-7575.rs:4:7
+   |
+LL | trait Foo {
+   |       ^^^
+   |
+   = note: `#[warn(dead_code)]` on by default
+
+warning: 1 warning emitted
+