summary refs log tree commit diff
path: root/compiler/rustc_privacy/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-11-11Simplify some places that deal with generic parameter defaultsLeón Orell Valerian Liehr-15/+5
2024-10-30Merge HostPolarity and BoundConstnessMichael Goulet-1/+1
2024-10-24Implement const effect predicate in new solverMichael Goulet-0/+4
2024-10-22Rollup merge of #131049 - compiler-errors:more-validation, r=spastorinoMatthias Krüger-4/+4
2024-10-04Visit opaques for visibilities.Camille GILLOT-51/+47
2024-10-04rm `ItemKind::OpaqueTy`Noah Lev-9/+9
2024-10-02Visit in embargo visitor if trait method has bodyMichael Goulet-10/+38
2024-10-02Move in_trait into OpaqueTyOriginMichael Goulet-2/+1
2024-09-30Validate ExistentialPredicate argsMichael Goulet-4/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-5/+5
2024-08-29Add `warn(unreachable_pub)` to `rustc_privacy`.Nicholas Nethercote-1/+2
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-1/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+14
2024-06-17Do not ICE in privacy when type inference fails.Camille GILLOT-2/+6
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-3/+5
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-1/+1
2024-05-13split out AliasTy -> AliasTermMichael Goulet-4/+7
2024-05-10Lift `TraitRef` into `rustc_type_ir`Michael Goulet-0/+1
2024-05-09Rename Generics::params to Generics::own_paramsMichael Goulet-2/+2
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-3/+1
2024-04-08Actually create ranged int types in the type system.Oli Scherer-0/+1
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-1/+1
2024-03-21rename items -> free_itemsRalf Jung-1/+1
2024-03-14Test and implement reachability for trait objects and generic parameters of f...Oli Scherer-2/+2
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-4/+4
2024-03-05Convert `SpannedTypeVisitor` to use `VisitorResult`Jason Newcomb-2/+2
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-65/+56
2024-02-29Mark some once-again-unreachable paths as unreachable.Nicholas Nethercote-4/+1
2024-02-23Allow for a missing `adt_def` in `NamePrivacyVisitor`.Nicholas Nethercote-1/+4
2024-02-12Dejargnonize substShoyu Vanilla-3/+3
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-2/+0
2024-02-07Remove dead codeOli Scherer-3/+0
2024-02-07Remove now-useless method overrideOli Scherer-7/+0
2024-02-07Stop using `hir_ty_to_ty` in rustc_privacyOli Scherer-52/+51
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-0/+1
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-26Rollup merge of #120339 - petrochenkov:nameprivisit, r=michaelwoeristerMatthias Krüger-43/+16
2024-01-25Remove unused featuresclubby789-2/+0
2024-01-25privacy: Refactor top-level visiting in `NamePrivacyVisitor`Vadim Petrochenkov-43/+16
2024-01-24privacy: Refactor top-level visiting in `TypePrivacyVisitor`Vadim Petrochenkov-63/+27
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-3/+3
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-7/+7
2023-12-20resolve: Eagerly feed closure visibilitiesVadim Petrochenkov-9/+0
2023-12-18resolve: Replace visibility table in resolver outputs with query feedingVadim Petrochenkov-53/+10
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-2/+2
2023-12-08privacy: visit trait def id of projectionsDavid Wood-6/+7
2023-12-06privacy: Simplify `update_macro_reachable`Vadim Petrochenkov-32/+9
2023-12-02Auto merge of #118470 - nnethercote:cleanup-error-handlers, r=compiler-errorsbors-2/+2
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2