Skip to content

Commit ec23f4e

Browse files
authored
Add sample fix for E0749
Even though the description is clear but the solution may not be as straightforward. Adding a suggested fix.
1 parent 13290e8 commit ec23f4e

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

src/librustc_error_codes/error_codes/E0749.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ trait MyTrait {
1111
impl !MyTrait for u32 {
1212
type Foo = i32; // error!
1313
}
14+
// impl !MyTrait for u32 {} // fix
1415
# fn main() {}
1516
```
1617

0 commit comments

Comments
 (0)