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 2dc5b60 commit cffd4b6Copy full SHA for cffd4b6
src/librustc_error_codes/error_codes/E0567.md
@@ -6,8 +6,7 @@ Erroneous code example:
6
#![feature(optin_builtin_traits)]
7
8
auto trait Generic<T> {} // error!
9
-
10
-fn main() {}
+# fn main() {}
11
```
12
13
Since an auto trait is implemented on all existing types, the
@@ -20,6 +19,5 @@ To fix this issue, just remove the generics:
20
19
21
22
auto trait Generic {} // ok!
23
24
25
0 commit comments