about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
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
2021-06-23deny using default function in impl const TraitDeadbeef-0/+60
2021-06-17Fix ICE when using `#[doc(keyword = "...")]` on non-itemsFabian Wolff-2/+5
2021-06-15Fix ICE when doc aliases were put on function paramsRyan Levick-0/+2
2021-06-15Use last segmenthi-rustin-4/+1
2021-06-15shrinking the deprecated method spanhi-rustin-1/+5
2021-06-14Use the now available implementation of `IntoIterator` for arraysLeSeulArtichaut-1/+1
2021-06-09Fix ICE when `main` is declared in an `extern` blockasquared31415-1/+15
2021-06-06Rollup merge of #86047 - jyn514:doc-attrs, r=petrochenkovYuki Okushi-1/+1
2021-06-05Don't fire `invalid_doc_attributes` on `extern crate` itemsJoshua Nelson-1/+1
2021-06-05Auto merge of #86001 - richkadel:revert-85617-rustin-patch-fix, r=Mark-Simula...bors-5/+1