Clean up E0715 explanation
This commit is contained in:
parent
c86039b333
commit
13a6aeff77
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…
Reference in a new issue