diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-25 10:30:54 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-26 11:45:53 +0100 |
commit | 7489a3c2246e7ea2483446dd2ed3fdbfaf462c1a (patch) | |
tree | fc2670f56f7cc16567eb10d88f9439abb9098298 /ui-tests/src/bin/attr_convert_duplicate.stderr | |
parent | 43950edc4f26a07055fb917fa8bbb262276e2a08 (diff) |
introduce #[convert] attribute
Diffstat (limited to 'ui-tests/src/bin/attr_convert_duplicate.stderr')
-rw-r--r-- | ui-tests/src/bin/attr_convert_duplicate.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui-tests/src/bin/attr_convert_duplicate.stderr b/ui-tests/src/bin/attr_convert_duplicate.stderr new file mode 100644 index 0000000..e4f3622 --- /dev/null +++ b/ui-tests/src/bin/attr_convert_duplicate.stderr @@ -0,0 +1,5 @@ +error: conversion is defined multiple times for this type + --> src/bin/attr_convert_duplicate.rs:3:17 + | +3 | #[convert = |x: Foo| -> Bar {x.baz()}] + | ^^^ |