Style.
This commit is contained in:
parent
ed5d09d8f3
commit
95ffda1e9e
1 changed files with 3 additions and 3 deletions
|
|
@ -16,9 +16,9 @@ trait Bar {
|
|||
}
|
||||
|
||||
fn make_bar<T:Bar>(t: &T) -> &Bar {
|
||||
//~^ ERROR E0038
|
||||
//~| NOTE the trait cannot contain associated consts like `X`
|
||||
//~| NOTE the trait `Bar` cannot be made into an object
|
||||
//~^ ERROR E0038
|
||||
//~| NOTE the trait cannot contain associated consts like `X`
|
||||
//~| NOTE the trait `Bar` cannot be made into an object
|
||||
t
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue