Nits.
This commit is contained in:
parent
5f5b6e7c67
commit
baa49b2343
@ -122,14 +122,15 @@ macro_rules! arena_types {
|
|||||||
[few] crate_variances: rustc::ty::CrateVariancesMap<'tcx>,
|
[few] crate_variances: rustc::ty::CrateVariancesMap<'tcx>,
|
||||||
[few] inferred_outlives_crate: rustc::ty::CratePredicatesMap<'tcx>,
|
[few] inferred_outlives_crate: rustc::ty::CratePredicatesMap<'tcx>,
|
||||||
[] upvars: rustc_data_structures::fx::FxIndexMap<rustc::hir::HirId, rustc::hir::Upvar>,
|
[] upvars: rustc_data_structures::fx::FxIndexMap<rustc::hir::HirId, rustc::hir::Upvar>,
|
||||||
// HIR nodes arenas
|
|
||||||
|
// HIR types
|
||||||
[few] hir_forest: rustc::hir::map::Forest<$tcx>,
|
[few] hir_forest: rustc::hir::map::Forest<$tcx>,
|
||||||
[] attribute: syntax::ast::Attribute,
|
[] attribute: syntax::ast::Attribute,
|
||||||
[] global_asm: rustc::hir::GlobalAsm,
|
[few] global_asm: rustc::hir::GlobalAsm,
|
||||||
[] fn_decl: rustc::hir::FnDecl,
|
[] fn_decl: rustc::hir::FnDecl,
|
||||||
[] foreign_item: rustc::hir::ForeignItem<$tcx>,
|
[] foreign_item: rustc::hir::ForeignItem<$tcx>,
|
||||||
[] impl_item_ref: rustc::hir::ImplItemRef,
|
[] impl_item_ref: rustc::hir::ImplItemRef,
|
||||||
[] macro_def: rustc::hir::MacroDef<$tcx>,
|
[few] macro_def: rustc::hir::MacroDef<$tcx>,
|
||||||
[] param: rustc::hir::Param,
|
[] param: rustc::hir::Param,
|
||||||
[] path: rustc::hir::Path,
|
[] path: rustc::hir::Path,
|
||||||
[] struct_field: rustc::hir::StructField<$tcx>,
|
[] struct_field: rustc::hir::StructField<$tcx>,
|
||||||
|
@ -107,7 +107,7 @@ pub const INDENT_UNIT: usize = 4;
|
|||||||
/// it can scan the input text for comments to copy forward.
|
/// it can scan the input text for comments to copy forward.
|
||||||
pub fn print_crate<'a>(cm: &'a SourceMap,
|
pub fn print_crate<'a>(cm: &'a SourceMap,
|
||||||
sess: &ParseSess,
|
sess: &ParseSess,
|
||||||
krate: &hir::Crate<'a>,
|
krate: &hir::Crate<'_>,
|
||||||
filename: FileName,
|
filename: FileName,
|
||||||
input: String,
|
input: String,
|
||||||
ann: &'a dyn PpAnn) -> String {
|
ann: &'a dyn PpAnn) -> String {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user