rust/compiler/rustc_middle/src/middle
Dylan DPC 5555e13a6e
Rollup merge of #99821 - cjgillot:ast-lifetimes-2, r=compiler-errors
Remove separate indexing of early-bound regions

~Based on https://github.com/rust-lang/rust/pull/99728.~

This PR copies some modifications from https://github.com/rust-lang/rust/pull/97839 around object lifetime defaults.
These modifications allow to stop counting generic parameters during lifetime resolution, and rely on the indexing given by `rustc_typeck::collect`.
2022-08-29 16:49:39 +05:30
..
codegen_fn_attrs.rs codegen: use new {re,de,}allocator annotations in llvm 2022-07-26 09:43:28 -04:00
dependency_format.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
exported_symbols.rs Synthesis object file for #[used] and exported symbols 2022-04-18 20:50:56 +01:00
lang_items.rs don't take TyCtxt by reference 2020-09-18 20:49:25 +02:00
limits.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
mod.rs passes: check implied feature exists 2022-07-20 15:50:59 +01:00
privacy.rs Remove NodeIdHashingMode. 2022-04-12 19:59:32 +02:00
region.rs Replace &Vec<_>s with &[_]s 2022-06-03 20:42:42 +04:00
resolve_lifetime.rs Remove index from Region::EarlyBound. 2022-08-03 18:44:18 +02:00
stability.rs rustc_middle: Remove Visibility::Invisible 2022-08-27 22:34:18 +03:00