about summary refs log tree commit diff
path: root/compiler/rustc_passes
AgeCommit message (Expand)AuthorLines
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-68/+78
2024-05-21Move `#[do_not_recommend]` to the `#[diagnostic]` namespaceGeorg Semmler-68/+78
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-13Suggest removing unused tuple fields if they are the last fieldsGurinder Singh-19/+67
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-18/+34
2024-05-04Various improvements to entrypoint codeNilstrieb-41/+23
2024-05-03Rollup merge of #124480 - Enselic:on-broken-pipe, r=jieyouxuMichael Goulet-44/+10
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-44/+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-12/+50
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-9/+9
2024-04-17weak lang items are not allowed to be #[track_caller]Ralf Jung-4/+42
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
2024-04-08Thread pattern types through the HIROli Scherer-0/+1
2024-04-08Add pattern types to astOli Scherer-0/+1
2024-04-06Do not ICE on field access check on expr with `ty::Error`Esteban Küber-1/+2
2024-03-29Auto merge of #122450 - Urgau:simplify-trim-paths-feature, r=michaelwoeristerbors-4/+9
2024-03-28Make local_crate_source_file return a RealFileNameUrgau-4/+9
2024-03-28Rollup merge of #123063 - tmiasko:reachability-abi, r=michaelwoeristerMatthias Krüger-12/+1
2024-03-25Rollup merge of #122769 - RalfJung:reachable, r=tmiaskoJubilee-23/+49
2024-03-25extend doc comment for reachability set computationRalf Jung-23/+49
2024-03-25Function ABI is irrelevant for reachabilityTomasz Miąsko-12/+1