Skip to content

Commit 7307af1

Browse files
authored
Rollup merge of #73918 - GuillaumeGomez:cleanup-e0715, r=Dylan-DPC
Clean up E0715 explanation r? @Dylan-DPC
2 parents af3d4cb + 13a6aef commit 7307af1

File tree

1 file changed

+1
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+1
-2
lines changed

src/librustc_error_codes/error_codes/E0715.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ struct OverrideConst;
1515
impl Marker for OverrideConst { // error!
1616
const N: usize = 1;
1717
}
18-
19-
fn main() {}
18+
# fn main() {}
2019
```
2120

2221
Because marker traits are allowed to have multiple implementations for the same

0 commit comments

Comments
 (0)