about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
2021-02-24Properly account for non-shorthand pattern field in unused variable lintEsteban Küber-5/+10
2021-02-25Address review commentsAmanieu d'Antras-0/+17
2021-02-23Add #[rustc_legacy_const_generics]Amanieu d'Antras-0/+75
2021-02-23Rollup merge of #82297 - tmiasko:write-only, r=oli-obkDylan DPC-11/+17
2021-02-23Rollup merge of #82258 - tmiasko:foreign-hir-stats, r=davidtwcoDylan DPC-0/+5
2021-02-21remove redundant wrapping of return types of allow_internal_unstable() and ru...Matthias Krüger-1/+1
2021-02-19Rollup merge of #82238 - petrochenkov:nocratemod, r=Aaron1011Dylan DPC-10/+0
2021-02-19Consider auto derefs before warning about write only fieldsTomasz Miąsko-11/+17
2021-02-18Rollup merge of #82256 - eddyb:time-passes-stderr, r=varkorDylan DPC-6/+6
2021-02-18Print -Ztime-passes (and misc stats/logs) on stderr, not stdout.Eduard-Mihai Burtescu-6/+6
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-10/+0
2021-02-18Implement -Z hir-stats for nested foreign itemsTomasz Miąsko-0/+5
2021-02-17replace if-let and while-let with `if let` and `while let`Takayuki Maeda-1/+1
2021-02-15Use less HirId when referring to items.Camille GILLOT-8/+7
2021-02-15Only store a LocalDefId in hir::MacroDef.Camille GILLOT-5/+5
2021-02-15Index Modules using their LocalDefId.Camille GILLOT-6/+3
2021-02-15Only store a LocalDefId in hir::ForeignItem.Camille GILLOT-11/+15
2021-02-15Only store a LocalDefId in hir::ImplItem.Camille GILLOT-19/+18
2021-02-15Only store a LocalDefId in hir::TraitItem.Camille GILLOT-9/+15
2021-02-15Only store a LocalDefId in hir::Item.Camille GILLOT-43/+38
2021-02-15Use ItemId as a strongly typed index.Camille GILLOT-2/+2
2021-02-14Rollup merge of #80920 - rylev:check_attr-refactor, r=davidtwcoDylan DPC-11/+17
2021-02-10Tweak stability attribute diagnostic outputEsteban Küber-17/+19
2021-02-10Inherit `#[stable(..)]` annotations in enum variants and fields from its itemEsteban Küber-12/+38
2021-02-09Visit more targets when checking attrsRyan Levick-11/+17
2021-02-09Rename HIR UnOp variantsÖmer Sinan Ağacan-1/+1
2021-02-02Bump rustfmt versionMark Rousskov-1/+2
2021-02-01Fixed #[inline] to be warned in fields, arms, macro defsDanuel-45/+263
2021-01-28Add missing braceOli Scherer-1/+1
2021-01-29Simplify base_exprSeo Sanghyeon-8/+4
2021-01-28Warn write-only fieldsSeo Sanghyeon-0/+19
2021-01-28Rollup merge of #79951 - LeSeulArtichaut:ty-ir, r=nikomatsakisYuki Okushi-2/+2
2021-01-25This should address issue 81294.Felix S. Klock II-1/+1
2021-01-24Rollup merge of #81310 - tmiasko:in-pattern, r=petrochenkovJonas Schievink-1/+1
2021-01-24Auto merge of #80919 - cjgillot:defkey-span, r=oli-obkbors-0/+1
2021-01-23Allow to query the HIR crate node.Camille GILLOT-0/+1
2021-01-23Do not mark unit variants as used when in path patternTomasz Miąsko-1/+1
2021-01-21Do not suggest using a break label when one is already presentEsteban Küber-6/+11
2021-01-21Tweak error for invalid `break expr`Esteban Küber-20/+56
2021-01-21Add loop head span to hirEsteban Küber-6/+5
2021-01-18Use ty::{IntTy,UintTy,FloatTy} in rustcLeSeulArtichaut-2/+2
2021-01-18Only inherit const stability for methods of `impl const Trait` blocksoli-10/+60
2021-01-14Auto merge of #79328 - c410-f3r:hir-if, r=matthewjasperbors-4/+38
2021-01-13Auto merge of #79322 - jyn514:refactor-impl, r=estebankbors-8/+11
2021-01-12Separate out a `hir::Impl` structJoshua Nelson-8/+11
2021-01-10Fix small typoCamelid-1/+1
2021-01-07Reintroduce hir::ExprKind::IfCaio-4/+38
2021-01-06Don't use to_string on SymbolGuillaume Gomez-1/+1
2021-01-04Add an error in case the doc alias is the same as the item it's aliasingGuillaume Gomez-1/+12
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-1/+1