mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Fix error index test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user