about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-12-03 15:39:52 -0500
committerGitHub <noreply@github.com>2016-12-03 15:39:52 -0500
commit9aef89eb451e7f1cee292dc9f67452721c40993b (patch)
tree065422141843f158facf162c11203d41e4e11747 /src/test/incremental/thinlto
parent78c1046b6ae52389c480fa265986d5cc206c7663 (diff)
parent4226930ddf54c4567b2eacc226d4eb897277afab (diff)
downloadrust-9aef89eb451e7f1cee292dc9f67452721c40993b.tar.gz
rust-9aef89eb451e7f1cee292dc9f67452721c40993b.zip
Rollup merge of #38065 - estebank:fix-37618, r=jonathandturner
Show `Trait` instead of `<Struct as Trait>` in E0323

For a given file

```
trait Foo {
    fn bar(&self);
}

pub struct FooConstForMethod;

impl Foo for FooConstForMethod {
    const bar: u64 = 1;
}
```

show

```
error[E0323]: item `bar` is an associated const, which doesn't match its trait `Foo`
```

instead of

```
error[E0323]: item `bar` is an associated const, which doesn't match its trait `<FooConstForMethod as Foo>`
```

Fix #37618
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions