Esteban Küber
9d846fcc11
Tweak short_ty_string
to reduce number of files
...
When shortening types and writing them to disk, make `short_ty_string`
capable of reusing the same file, instead of writing a file per
shortened type.
2023-12-13 23:07:10 +00:00
Nilstrieb
41e8d152dc
Show number in error message even for one error
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
Ralf Jung
c4ec12f4b7
adjust how closure/generator types and rvalues are printed
2023-09-21 22:20:58 +02:00
David Tolnay
823bacb6e3
Revert "Suggest using Arc
on !Send
/!Sync
types"
...
This reverts commit 9de1a472b6
.
2023-08-28 03:16:48 -07:00
Esteban Kuber
9de1a472b6
Suggest using Arc
on !Send
/!Sync
types
2023-08-09 14:04:10 +00:00
bors
eb03a3e3f9
Auto merge of #111363 - asquared31415:tidy_no_random_ui_tests, r=fee1-dead
...
Add a tidy check to find unexpected files in UI tests, and clean up the results
While looking at UI tests, I noticed several weird files that were not being tested, some from even pre-1.0. I added a tidy check that fails if any files not known to compiletest or not used in tests (via manual list) are present in the ui tests.
Unfortunately the root entry limit had to be raised by 1 to accommodate the stderr file for one of the tests.
r? `@fee1-dead`
2023-05-13 21:34:05 +00:00
Michael Goulet
14bf909e71
Note base types of coercion
2023-05-12 00:10:52 +00:00
asquared31415
517ea5652a
tidy check to find misc files in ui tests, and clean up the results
2023-05-09 20:35:39 -04:00
Vadim Petrochenkov
6f6c379ee0
rustc_middle: Fix opt_item_ident
for non-local def ids
2023-05-03 20:09:10 +03:00
Esteban Küber
5b40aa5eb4
Tweak output for 'add line' suggestion
2023-04-12 22:50:10 +00:00
Esteban Küber
252c43b42b
Do not mention lifetime names in force trimmed paths
2023-01-30 20:12:21 +00:00
Michael Goulet
54f6fea818
Rollup merge of #106360 - estebank:remove-borrow-suggestion, r=compiler-errors
...
Tweak E0277 `&`-removal suggestions
Fix #64068 , fix #84837 .
2023-01-11 22:25:49 -08:00
Esteban Küber
ce83be4af8
Account for type params
2023-01-11 21:38:56 +00:00
Michael Goulet
9a39d7e441
Note predicate span on ImplDerivedObligation
2023-01-11 19:46:45 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00