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
@ -11,6 +11,7 @@ trait MyTrait {
|
||||
impl !MyTrait for u32 {
|
||||
type Foo = i32; // error!
|
||||
}
|
||||
// impl !MyTrait for u32 {} // fix
|
||||
# fn main() {}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user