Remove <no-bounds> on trait objects
Printing <no-bounds> on trait objects comes from a time when trait objects had a non-empty default bounds set. As they no longer have any default bounds, printing <no-bounds> is just noise.
This commit is contained in:
parent
74172341aa
commit
33cc0efa3d
2 changed files with 2 additions and 8 deletions
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// error-pattern: type `&Foo<no-bounds>` does not implement any method in scope named `foo`
|
||||
// error-pattern: type `&Foo` does not implement any method in scope named `foo`
|
||||
|
||||
trait Foo {
|
||||
fn foo(~self);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue