We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21008a3 commit 61cf9b5Copy full SHA for 61cf9b5
src/test/mod.rs
@@ -147,7 +147,7 @@ fn basic_adt_variant_dup() {
147
}
148
]
149
150
- [ /* TODO */ ]
+ [ r#"variant "Baz" defined multiple times"#, ]
151
152
expect_test::expect![[r#"variant "Baz" defined multiple times"#]]
153
)
@@ -165,12 +165,13 @@ fn basic_adt_field_dup() {
165
166
167
168
+ [ r#"field "baz" of variant "struct" defined multiple times"#, ]
169
170
expect_test::expect![[r#"field "baz" of variant "struct" defined multiple times"#]]
171
172
173
174
+#[test]
175
fn trait_items_with_duplicate_fn_names() {
176
crate::assert_err!(
177
[
0 commit comments