summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-5/+6
2021-09-01Rollup merge of #86376 - asquared31415:extern-no-mangle-84204, r=Mark-SimulacrumMara Bos-0/+30
2021-08-29emit specific warning to clarify that foreign items can't have no_mangleasquared31415-0/+30
2021-08-29Auto merge of #88337 - eddyb:field-failure-is-not-an-option, r=nagisabors-1/+1
2021-08-28Remove obsolete `MacroDef` variant of `OwnerNode`inquisitivecrystal-2/+1
2021-08-28Treat macros as HIR itemsinquisitivecrystal-38/+15
2021-08-27rustc_target: add lifetime parameter to `LayoutOf`.Eduard-Mihai Burtescu-1/+1
2021-08-25Auto merge of #87875 - asquared31415:generic-lang-items, r=cjgillotbors-87/+35
2021-08-25Auto merge of #84333 - tmiasko:liveness-yield, r=tmandrybors-3/+11
2021-08-24Auto merge of #88271 - sexxi-goose:liveness, r=nikomatsakisbors-30/+6
2021-08-24Improve liveness analysis for generatorsTomasz Miąsko-3/+11
2021-08-24Auto merge of #87739 - Aaron1011:remove-used-attrs, r=wesleywiserbors-17/+174
2021-08-24Auto merge of #85556 - FabianWolff:issue-85071, r=estebank,jackh726bors-31/+72
2021-08-232229: Consider varaiables mentioned in closure as usedAman Arora-30/+6
2021-08-23Detect incorrect number of lang item genericsasquared31415-87/+35
2021-08-21Address review commentsAaron Hill-1/+6
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-17/+169
2021-08-18Rollup merge of #88036 - nbdd0121:const3, r=petrochenkovGuillaume Gomez-0/+7
2021-08-18Auto merge of #87985 - nbdd0121:asm, r=Amanieubors-5/+10
2021-08-16Add check for doc(test(...)) attributeGuillaume Gomez-2/+43
2021-08-16Auto merge of #87050 - jyn514:no-doc-primitive, r=manishearthbors-1/+16
2021-08-16Auto merge of #88032 - hyd-dev:no-mangle-method, r=petrochenkovbors-15/+16
2021-08-16feature gate doc(primitive)Joshua Nelson-1/+16
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-9/+18
2021-08-15Use correct drop scopes for if expressionsMatthew Jasper-4/+20
2021-08-14Fix dead code warning when inline const is used in patternGary Guo-0/+7
2021-08-15Fix `reachable_set` for non-function items in non-library crateshyd-dev-15/+16
2021-08-12Forbid `!` from being used in `asm!` outputGary Guo-5/+10
2021-08-12Adjust `check_no_mangle` and `check_export_name` to warn/error on `#[no_mangl...hyd-dev-12/+20
2021-08-12Add associated functions that have custom linkage to `reachable_set`hyd-dev-13/+21
2021-08-07Auto merge of #87772 - npmccallum:naked_abi, r=Amanieubors-1/+2
2021-08-04Disable unused variable lint for naked functionsNathaniel McCallum-0/+5
2021-08-04Move naked function ABI check to its own lintNathaniel McCallum-1/+2
2021-08-04Auto merge of #87568 - petrochenkov:localevel, r=cjgillotbors-103/+96
2021-08-02Validate that naked functions are never inlinedNathaniel McCallum-1/+11
2021-08-01Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisabors-2/+2
2021-07-31rustc: Replace `HirId`s with `LocalDefId`s in `AccessLevels` tablesVadim Petrochenkov-103/+96
2021-07-29Add feature gates for `for` and `?` in constsJonas Schievink-4/+5
2021-07-25clippy::useless_formatMatthias Krüger-2/+2
2021-07-25Only check macro attributes when checking the crate root.Camille GILLOT-2/+2
2021-07-25Introduce OwnerNode::Crate.Camille GILLOT-3/+3
2021-07-25Merge the BTreeMap in hir::Crate.Camille GILLOT-1/+1
2021-07-21Allow some temporarily dead code.Felix S. Klock II-0/+2
2021-07-21Revert PR 81473 to resolve (on mainline) issues 81626 and 81658.Felix S. Klock II-6/+0
2021-07-14Warn about useless assignments of variables/fields to themselvesFabian Wolff-0/+54
2021-07-13Auto merge of #86857 - fee1-dead:add-attr, r=oli-obkbors-18/+52
2021-07-12Auto merge of #86320 - hi-rustin:rustin-patch-fix-span, r=estebankbors-1/+2
2021-07-11Auto merge of #85941 - cjgillot:qresolve, r=Aaron1011bors-24/+27
2021-07-10Check if the attribute is applied correctlyDeadbeef-0/+26
2021-07-10Applied suggestionsDeadbeef-11/+6