about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
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
2021-07-10Add #[default_method_body_is_const]Deadbeef-18/+31
2021-07-08Rollup merge of #86838 - lambinoo:I-69630-rust_const_unstable_check_const, r=...Guillaume Gomez-1/+60
2021-07-08Rollup merge of #86726 - sexxi-goose:use-diagnostic-item-for-rfc2229-migratio...Guillaume Gomez-3/+0
2021-07-08fn must be const if marked with stability attributLamb-1/+60
2021-07-06Make resolutions a query.Camille GILLOT-24/+27
2021-07-03Auto merge of #86571 - fee1-dead:const-trait-impl-fix, r=jackh726bors-0/+63
2021-07-01Auto merge of #86749 - bjorn3:link_info_refactor_part1, r=petrochenkovbors-4/+4
2021-07-01Rename all_crate_nums query to crates and remove useless wrapperbjorn3-4/+4
2021-07-01Auto merge of #86190 - asquared31415:extern-main-86110-fix, r=varkorbors-1/+15
2021-07-01Do the check even when the feature is not enabledDeadbeef-3/+6
2021-06-29Remove lang items Send, UnwindSafe and RefUnwindSafeRoxane Fruytier-3/+0
2021-06-25Check that `#[cmse_nonsecure_entry]` is applied to a function definitionFabian Wolff-0/+20