about summary refs log tree commit diff
path: root/src/librustc_passes/layout_test.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-142/+0
2020-08-17rust_ast::ast => rustc_astUjjwal Sharma-1/+1
2020-08-08Eliminate the `SessionGlobals` from `librustc_ast`.Nicholas Nethercote-1/+1
By moving `{known,used}_attrs` from `SessionGlobals` to `Session`. This means they are accessed via the `Session`, rather than via TLS. A few `Attr` methods and `librustc_ast` functions are now methods of `Session`. All of this required passing a `Session` to lots of functions that didn't already have one. Some of these functions also had arguments removed, because those arguments could be accessed directly via the `Session` argument. `contains_feature_attr()` was dead, and is removed. Some functions were moved from `librustc_ast` elsewhere because they now need to access `Session`, which isn't available in that crate. - `entry_point_type()` --> `librustc_builtin_macros` - `global_allocator_spans()` --> `librustc_metadata` - `is_proc_macro_attr()` --> `Session`
2020-07-22Fix rebase falloutAaron Hill-2/+4
2020-06-11Stop special casing top level TAITMatthew Jasper-3/+4
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-3/+3
2020-04-06tweak rustc_layout debug outputRalf Jung-1/+1
2020-04-05also print type typeRalf Jung-1/+1
2020-04-05also print rustc_layout on impl trait type aliasesRalf Jung-1/+2
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-9/+3
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-9/+9
2020-03-27Rename TyLayout to TyAndLayout.Ana-Maria Mihalache-3/+3
2020-03-20fmtRalf Jung-4/+4
2020-03-20make rustc_layout also work for type definitionsRalf Jung-4/+10
2020-03-20add debug option to #[rustc_layout]Ralf Jung-0/+7
2020-03-20fix layout_test visitor nameRalf Jung-4/+4
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-4/+4
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2019-12-22Format the worldMark Rousskov-10/+4
2019-12-21Use Arena inside hir::ImplItem.Camille GILLOT-1/+1
2019-12-21Use Arena inside hir::TraitItem.Camille GILLOT-1/+1
2019-12-21Use Arena inside hir::Item.Camille GILLOT-2/+2
2019-09-26Rename `Item.node` to `Item.kind`varkor-1/+1
2019-08-04Rename `ItemKind::Ty` to `ItemKind::TyAlias`varkor-1/+1
2019-07-04rename hir::map::local_def_id_from_hir_id to local_def_idljedrz-1/+1
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-4/+4
2019-06-12rustc: remove some unnecessary lifetimes in -> TyCtxt methods.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-4/+4
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-12/+12
2019-05-13Return a `Symbol` from `name_or_empty` functions.Nicholas Nethercote-5/+5
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-1/+2
2019-05-04adding HasParamEnv traitSaleem Jaffer-0/+7
2019-03-17Make meta-item API compatible with `LocalInternedString::get` soundness fixVadim Petrochenkov-3/+2
2019-03-16Refactor away `NestedMetaItemKind`Vadim Petrochenkov-1/+1
Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields
2019-03-16syntax: Do not accidentally treat multi-segment meta-items as single-segmentVadim Petrochenkov-3/+1
2019-03-02hir: remove NodeId from Itemljedrz-1/+1
2019-01-25distinguish "no data" from "heterogeneous" for ABI purposesNiko Matsakis-0/+132
Also, add a testing infrastructure and tests that lets us dump layout.