diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2016-11-28 17:53:59 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2016-11-28 17:59:24 -0800 |
| commit | 4226930ddf54c4567b2eacc226d4eb897277afab (patch) | |
| tree | b085f405e384ab735510ff23fd451b82c8fbbe85 /src/test/incremental/thinlto | |
| parent | 39c267a8d5ab141faaf5d4b33a20cac62cdc4507 (diff) | |
| download | rust-4226930ddf54c4567b2eacc226d4eb897277afab.tar.gz rust-4226930ddf54c4567b2eacc226d4eb897277afab.zip | |
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>`
```
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
