Fix error index test
This commit is contained in:
parent
509cb33dbc
commit
c305ac31c0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue