We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08071c2 commit 2eabf4fCopy full SHA for 2eabf4f
src/test/compile-fail/issue-43023.rs
@@ -11,18 +11,18 @@
11
struct S;
12
13
impl S {
14
- #[derive(Debug)] //~ ERROR `derive` may only be applied to structs, enums and unions
+ #[derive(Debug)] //~ ERROR `derive` may only be applied to structs and enums
15
fn f() {
16
file!();
17
}
18
19
20
trait Tr1 {
21
22
fn f();
23
24
25
trait Tr2 {
26
27
type F;
28
0 commit comments