Mahdi Dibaiee
e55583c4b8
refactor(rustc_middle): Substs -> GenericArg
2023-07-14 13:27:35 +01:00
lcnr
08d149ca85
EarlyBinder::new -> EarlyBinder::bind
2023-05-29 13:46:10 +02:00
Kyle Matsuda
03534ac8b7
Replace EarlyBinder(x) with EarlyBinder::new(x)
2023-05-28 10:44:50 -06:00
Kyle Matsuda
82f57c16b7
use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions
2023-05-06 22:32:39 -06:00
Boxy
842419712a
rename needs_subst
to has_param
2023-04-27 08:35:19 +01:00
Oli Scherer
1ce80e210d
Allow LocalDefId
as the argument to def_path_str
2023-04-21 22:27:20 +00:00
Camille GILLOT
b275d2c30b
Remove WithOptconstParam.
2023-04-20 17:48:32 +00:00
John Kåre Alsaker
0d89c6a2d4
Support TLS access into dylibs on Windows
2023-03-29 08:55:21 +02:00
lcnr
0c13565ca6
Add a builtin FnPtr
trait
2023-03-27 12:16:54 +00:00
Alan Egerton
695072daa6
Remove type-traversal trait aliases
2023-02-22 17:04:58 +00:00
Tomasz Miąsko
b48870b451
Replace Body::basic_blocks()
with field access
2022-08-26 14:27:08 +02:00
Ralf Jung
3dad266f40
consistently use VTable over Vtable (matching stable stdlib API RawWakerVTable)
2022-07-20 17:12:07 -04:00
Alan Egerton
4f0a64736b
Update TypeVisitor paths
2022-07-06 06:41:53 +01:00
Camille GILLOT
2e45cd4b69
Do not ICE when failing to resolve.
2022-06-30 21:45:29 +02:00
Jacob Pratt
49c82f31a8
Remove crate
visibility usage in compiler
2022-05-20 20:04:54 -04:00
Oli Scherer
e02129fec0
Use IndexSet for deterministic order
2022-05-12 10:03:41 +00:00
Oli Scherer
af0a464311
Gracefully handle normalization failures in the prospective inliner cycle detector
2022-05-12 08:22:36 +00:00
Yuri Astrakhan
5160f8f843
Spellchecking compiler comments
...
This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
2022-03-30 15:14:15 -04:00
est31
2ef8af6619
Adopt let else in more places
2022-02-19 17:27:43 +01:00
Ellen
71bbb603f4
initial revert
2022-01-15 01:16:55 +00:00
Scott McMurray
a124924061
Remove in_band_lifetimes
from rustc_mir_transform
...
This one is a heavy `'tcx` user.
Two interesting ones:
This one had the `'tcx` declared on the function, despite the trait taking a `'tcx`:
```diff
-impl Visitor<'_> for UsedLocals {
+impl<'tcx> Visitor<'tcx> for UsedLocals {
fn visit_statement(&mut self, statement: &Statement<'tcx>, location: Location) {
```
This one use in-band for one, and underscore for the other:
```diff
-pub fn remove_dead_blocks(tcx: TyCtxt<'tcx>, body: &mut Body<'_>) {
+pub fn remove_dead_blocks<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
```
2021-12-07 21:04:40 -08:00
Camille GILLOT
bba4be681d
Move rustc_mir::transform to rustc_mir_transform.
2021-09-07 00:43:14 +02:00