Skip to content

Commit

Permalink
Fix error index test
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Jan 16, 2020
1 parent 509cb33 commit c305ac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc_error_codes/error_codes/E0746.md
Expand Up @@ -2,7 +2,8 @@ Return types cannot be `dyn Trait`s as they must be `Sized`.

Erroneous code example:

```compile_fail,E0746
```compile_fail,E0277
# // FIXME: after E0746 is in beta, change the above
trait T {
fn bar(&self);
}
Expand Down

0 comments on commit c305ac3

Please sign in to comment.