Skip to content

Commit c305ac3

Browse files
committed
Fix error index test
1 parent 509cb33 commit c305ac3

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

src/librustc_error_codes/error_codes/E0746.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ Return types cannot be `dyn Trait`s as they must be `Sized`.
22

33
Erroneous code example:
44

5-
```compile_fail,E0746
5+
```compile_fail,E0277
6+
# // FIXME: after E0746 is in beta, change the above
67
trait T {
78
fn bar(&self);
89
}

0 commit comments

Comments
 (0)