Reviewer comments

This commit is contained in:
Nick Cameron 2015-04-14 11:44:26 +12:00
parent 4ad4363870
commit b35a587da1
4 changed files with 66 additions and 47 deletions

View file

@ -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
}