Niko Matsakis
21e9478366
update test files to reflect new output
...
One surprise: old-lub-glb-object.rs, may indicate a bug
2019-02-21 11:32:17 -05:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Zack M. Davis
4b1808578a
add dyn
to display of dynamic (trait) type names
...
The `dyn Trait` syntax was stabilized in 199ee327
. Resolves #49277 .
2018-06-23 18:10:25 -07:00
Guillaume Gomez
2e104a77cf
update tests
2018-03-14 00:53:24 +01:00
Vadim Petrochenkov
fa2d9fc4b9
Update UI tests
2018-02-26 20:24:02 +03:00
Guillaume Gomez
5747fd6611
Update ui tests
2018-02-25 12:15:05 +01:00
Esteban Küber
9b36030a65
On E0283, point at method with the requirements
...
On required type annotation diagnostic error, point at method with the
requirements if the span is available.
2018-01-15 14:56:32 -08:00
Esteban Küber
8ee82d08ac
Point at whole method call instead of args
...
To avoid confusion in cases where the code is
```rust
fn foo() {}
/ foo(
| bar()
| ^^^ current diagnostics point here for arg count mismatch
| );
|_^ new diagnostic span points here
```
as this leads to confusion making people think that the diagnostic is
talking about `bar`'s arg count, not `foo`'s.
Point at `fn`s definition on arg mismatch, just like we do for closures.
2017-12-10 13:37:12 -08:00
Oliver Schneider
8937d6a6cf
Merge cfail and ui tests into ui tests
2017-11-24 11:32:35 +01:00
Wonwoo Choi
9b0480bec6
Name higher-ranked lifetimes properly while displaying
...
Now they don't shadow other lifetimes.
2017-10-08 20:53:14 +09:00