]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-31769.stderr
Implement RFC 2645 (transparent enums and unions)
[rust.git] / src / test / ui / issues / issue-31769.stderr
index 29fcefc08037a376b38b411f11ce08715dba4f38..20534e1ae82c57a918a69dd844efd57160d26868 100644 (file)
@@ -4,13 +4,13 @@ error[E0518]: attribute should be applied to function or closure
 LL |     #[inline] struct Foo;
    |     ^^^^^^^^^ ----------- not a function or closure
 
-error[E0517]: attribute should be applied to struct, enum or union
+error[E0517]: attribute should be applied to struct, enum, or union
   --> $DIR/issue-31769.rs:3:12
    |
 LL |     #[repr(C)] fn foo() {}
-   |            ^   ----------- not a struct, enum or union
+   |            ^   ----------- not a struct, enum, or union
 
 error: aborting due to 2 previous errors
 
-Some errors occurred: E0517, E0518.
+Some errors have detailed explanations: E0517, E0518.
 For more information about an error, try `rustc --explain E0517`.