varkor
0c2cf07d6e
Add backticks to various diagnostics
2020-01-05 00:17:46 +00:00
Esteban Küber
83ffda5216
Specific labels when referring to "expected" and "found" types
2019-11-18 11:02:22 -08:00
memoryruins
eb4580a570
Update ui test suite to use dyn
2019-05-29 00:57:31 -04:00
Vadim Petrochenkov
fa72a81bea
Update tests
2019-03-11 23:10:26 +03:00
Niko Matsakis
33d3598e3b
partially revert 904a0bde93
...
This preserves the error you currently get on stable for the
old-lub-glb-object.rs test.
2019-02-21 12:50:13 -05:00
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
Niko Matsakis
bc4404c0b5
improve handling for subtype
...
Still not great, but good enough to land this PR.
2019-01-02 17:35:06 -05:00
Niko Matsakis
a2d917989c
WIP other test changes
2019-01-02 17:35:05 -05:00
Niko Matsakis
c8e0a90dfc
tests: cases where we now do the right thing but did not before
...
Fixes #33684
2019-01-02 17:35:05 -05:00
Niko Matsakis
904a0bde93
select.rs: unsizing coercion should use a subtype
...
When we coerce `dyn Foo` to `dyn Bar`, that is OK as long as `Foo` is
usable in all contexts where `Bar` is usable (hence using the source
must be a subtype of the target).
This is needed for the universe-based code to handle
`old-lub-glb-object`; that test used to work sort of by accident
before with the old code.
2019-01-02 17:35:05 -05:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Niko Matsakis
c244fd79f2
kill old-style-lub warnings
2018-10-31 12:11:02 -04: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
fed4fcb318
"incompatible arm" diagnostic span tweak
...
Use span label instead of span note for single line spans in
"incompatible arm" diagnostic.
2017-12-25 09:47:22 -08:00
Oliver Schneider
8937d6a6cf
Merge cfail and ui tests into ui tests
2017-11-24 11:32:35 +01:00
Niko Matsakis
b224397b7c
issue better error message when LUB/GLB diverge under new behavior
2017-11-17 10:32:15 -05:00