summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
2021-03-15Revert PR 81473 to resolve (on beta) issues 81626 and 81658.Felix S. Klock II-15/+0
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
2021-01-01adjust const generics defaults FIXMEs to the new feature gateRémy Rakic-1/+1
2020-12-30Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkovMara Bos-1/+1
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-23/+20
2020-12-19Auto merge of #79073 - davidtwco:issue-78957-const-param-attrs, r=lcnrbors-0/+12
2020-12-17Rollup merge of #79877 - bstrie:depinfut, r=oli-obkYuki Okushi-20/+24
2020-12-17Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasperYuki Okushi-4/+12
2020-12-16Allow `since="TBD"` for rustc_deprecatedbstrie-20/+24
2020-12-09Rollup merge of #79844 - tmiasko:rwu-table-mod, r=lcnrTyler Mandry-146/+149
2020-12-09Rollup merge of #79826 - LingMan:match_if, r=lcnrTyler Mandry-20/+10
2020-12-09Rollup merge of #79777 - tmiasko:remove-first-merge, r=lcnrTyler Mandry-18/+6
2020-12-09Auto merge of #79767 - tmiasko:malformed-required-const, r=matthewjasperbors-45/+53
2020-12-09Move RWUTable to a separate moduleTomasz Miąsko-146/+149
2020-12-09Remove `first_merge` from liveness debug logsTomasz Miąsko-18/+6
2020-12-08Auto merge of #79727 - tmiasko:8bit-rwu, r=lcnrbors-159/+146
2020-12-08Simplify visit_{foreign,trait}_itemLingMan-20/+10
2020-12-08Auto merge of #79752 - cjgillot:dead-alien, r=lcnrbors-21/+25
2020-12-08Visit ForeignItems when marking dead code.Camille GILLOT-21/+25
2020-12-07Validate naked functions definitionsTomasz Miąsko-15/+224
2020-12-06Retain assembly operands span when lowering AST to HIRTomasz Miąsko-4/+4
2020-12-06Implement lowering of if-let guards to MIRLeSeulArtichaut-0/+2
2020-12-06Implement liveness passes for if-let guardsLeSeulArtichaut-4/+10
2020-12-06Don't ICE on malformed `rustc_args_required_const` attributeTomasz Miąsko-45/+53
2020-12-06Compress RWU from at least 32 bits to 4 bitsTomasz Miąsko-159/+146
2020-12-02Add checks for #[doc(keyword = "...")] and move them into rustc_passesGuillaume Gomez-7/+53