We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e09d782 commit adc5de6Copy full SHA for adc5de6
1 file changed
compiler/rustc_error_codes/src/error_codes/E0722.md
@@ -7,8 +7,6 @@ Erroneous code example:
7
8
#[optimize(something)] // error: invalid argument
9
pub fn something() {}
10
-
11
-fn main() {}
12
```
13
14
The `#[optimize]` attribute should be used as follows:
@@ -25,8 +23,6 @@ For example:
25
23
26
24
#[optimize(size)]
27
28
29
30
31
32
See [RFC 2412] for more details.
0 commit comments