summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
2024-08-04Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-93/+28
2024-08-04Revert "Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkov"Michael Goulet-1/+1
2024-06-20Add pub struct with allow(dead_code) into worklistr0cky-1/+1
2024-06-07Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelixMatthias Krüger-28/+93
2024-06-07Rollup merge of #124214 - carbotaniuman:parse_unsafe_attrs, r=michaelwoeristerMatthias Krüger-2/+30
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-25/+21
2024-06-06Fix formattingcarbotaniuman-1/+0
2024-06-06Fix buildcarbotaniuman-1/+1
2024-06-06Error on unsafe on non-unsafe attributecarbotaniuman-2/+31
2024-06-06Revert "Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obk"Rémy Rakic-4/+4
2024-06-05Also support generic constantsOli Scherer-9/+9
2024-06-05Don't walk the bodies of free constants for reachability.Oli Scherer-4/+14
2024-06-05Detect pub structs never constructed and unused associated constants in traitsr0cky-28/+93
2024-06-04Closures are recursively reachableTomasz Miąsko-0/+1
2024-06-03Opt-in diagnostics reporting to avoid doing extra work in the new solverMichael Goulet-2/+2
2024-05-31Rollup merge of #125635 - fmease:mv-type-binding-assoc-item-constraint, r=com...Matthias Krüger-4/+4
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-4/+4
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-11/+10
2024-05-29Don't require `visit_body` to take a lifetime that must outlive the function ...Oli Scherer-2/+2
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-21/+25
2024-05-23Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726bors-5/+4
2024-05-23Rollup merge of #122382 - mu001999:dead_code/enhance, r=petrochenkovLeón Orell Valerian Liehr-16/+33
2024-05-23Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obkMatthias Krüger-4/+4
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_passes`.Nicholas Nethercote-5/+4
2024-05-23Rollup merge of #123623 - surechen:fix_123261, r=estebankMatthias Krüger-26/+150
2024-05-23Detect unused structs which implement private traitsr0cky-16/+33
2024-05-22rustc: Use `tcx.used_crates(())` moreVadim Petrochenkov-4/+4
2024-05-22For OutsideLoop we should not suggest add 'block label in if block, or we wii...surechen-26/+150
2024-05-22Auto merge of #125326 - weiznich:move/do_not_recommend_to_diganostic_namespac...bors-67/+77
2024-05-21Move `#[do_not_recommend]` to the `#[diagnostic]` namespaceGeorg Semmler-67/+77
2024-05-21Minor `pub` and whitespace cleanups.Nicholas Nethercote-8/+6
2024-05-17Rename Unsafe to SafetySantiago Pastorino-3/+3
2024-05-15delegation: Implement list delegationVadim Petrochenkov-4/+9
2024-05-11Rollup merge of #124904 - RalfJung:reachable, r=tmiasko许杰友 Jieyou Xu (Joe)-10/+22
2024-05-09reachable computation: extend explanation of what this does, and whyRalf Jung-10/+22
2024-05-08Fix Error Messages for `break` Inside CoroutinesVeera-13/+29
2024-05-04Various improvements to entrypoint codeNilstrieb-35/+23
2024-05-03Rollup merge of #124480 - Enselic:on-broken-pipe, r=jieyouxuMichael Goulet-41/+10
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-41/+10
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-2/+8
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-1/+1
2024-04-23Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwcoLeón Orell Valerian Liehr-1/+1
2024-04-23Rollup merge of #124067 - RalfJung:weak-lang-items, r=davidtwcoMatthias Krüger-5/+34
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-1/+1
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-2/+1
2024-04-17consistency rename: language item -> lang itemRalf Jung-3/+3
2024-04-17weak lang items are not allowed to be #[track_caller]Ralf Jung-2/+31
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-7/+7
2024-04-08Actually create ranged int types in the type system.Oli Scherer-0/+4