Add sample fix for E0749
Even though the description is clear but the solution may not be as straightforward. Adding a suggested fix.
This commit is contained in:
parent
13290e83a6
commit
ec23f4ed3f
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ trait MyTrait {
|
|||
impl !MyTrait for u32 {
|
||||
type Foo = i32; // error!
|
||||
}
|
||||
// impl !MyTrait for u32 {} // fix
|
||||
# fn main() {}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue