Skip to content

Commit 6a2ef9a

Browse files
committed
clean up visuals on error index #40425
1 parent fd182c4 commit 6a2ef9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc_const_eval/diagnostics.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
register_long_diagnostics! {
1717

1818
E0001: r##"
19-
## Note: this error code is no longer emitted by the compiler.
19+
#### Note: this error code is no longer emitted by the compiler.
2020
2121
This error suggests that the expression arm corresponding to the noted pattern
2222
will never be reached as for all possible values of the expression being
@@ -43,7 +43,7 @@ arms.
4343
"##,
4444

4545
E0002: r##"
46-
## Note: this error code is no longer emitted by the compiler.
46+
#### Note: this error code is no longer emitted by the compiler.
4747
4848
This error indicates that an empty match expression is invalid because the type
4949
it is matching on is non-empty (there exist values of this type). In safe code
@@ -75,7 +75,7 @@ fn foo(x: Option<String>) {
7575
"##,
7676

7777
E0003: r##"
78-
## Note: this error code is no longer emitted by the compiler.
78+
#### Note: this error code is no longer emitted by the compiler.
7979
8080
Not-a-Number (NaN) values cannot be compared for equality and hence can never
8181
match the input to a match expression. So, the following will not compile:

0 commit comments

Comments
 (0)