Auto merge of #36652 - giannicic:issue-36553, r=nrc
this commit corrects E0520 error text. See referenced issue for further info r? @nrc
This commit is contained in:
commit
0a0215ddcd
2 changed files with 3 additions and 4 deletions
|
|
@ -27,7 +27,7 @@ impl SpaceLlama for i32 {
|
|||
default fn fly(&self) {}
|
||||
//~^ ERROR E0520
|
||||
//~| NOTE cannot specialize default item `fly`
|
||||
//~| NOTE either the parent `impl` or `fly` in the parent `impl` must be marked `default`
|
||||
//~| NOTE `fly` in the parent `impl` must be marked `default`
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue