Rollup merge of #73918 - GuillaumeGomez:cleanup-e0715, r=Dylan-DPC
Clean up E0715 explanation r? @Dylan-DPC
This commit is contained in:
commit
7307af1f1c
1 changed files with 1 additions and 2 deletions
|
|
@ -15,8 +15,7 @@ struct OverrideConst;
|
|||
impl Marker for OverrideConst { // error!
|
||||
const N: usize = 1;
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
# fn main() {}
|
||||
```
|
||||
|
||||
Because marker traits are allowed to have multiple implementations for the same
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue