Reviewer comments
This commit is contained in:
parent
4ad4363870
commit
b35a587da1
4 changed files with 66 additions and 47 deletions
|
|
@ -14,7 +14,7 @@ use std::ops::Add;
|
|||
|
||||
fn main() {
|
||||
let x = &10 as
|
||||
//~^ ERROR the value of the associated type `Output` (from the trait `core::ops::Add`) must be specified
|
||||
&Add;
|
||||
//~^ ERROR the type parameter `RHS` must be explicitly specified in an object type because its default value `Self` references the type `Self`
|
||||
//~^^ ERROR the value of the associated type `Output` (from the trait `core::ops::Add`) must be specified
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue