aboutsummaryrefslogtreecommitdiff
path: root/ui-tests/src/bin/attr_convert_unused.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'ui-tests/src/bin/attr_convert_unused.stderr')
-rw-r--r--ui-tests/src/bin/attr_convert_unused.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui-tests/src/bin/attr_convert_unused.stderr b/ui-tests/src/bin/attr_convert_unused.stderr
new file mode 100644
index 0000000..e715236
--- /dev/null
+++ b/ui-tests/src/bin/attr_convert_unused.stderr
@@ -0,0 +1,5 @@
+error: unused conversion
+ --> src/bin/attr_convert_unused.rs:2:17
+ |
+2 | #[convert = |x: Foo| -> Bar {x.baz()}]
+ | ^^^