about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/member_constraints.rs
AgeCommit message (Collapse)AuthorLines
2025-08-20handle opaque types before region inferencelcnr-226/+0
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-5/+2
2024-12-20remove non-borrowck member constraintslcnr-15/+7
2024-12-20more directly handle member constraintslcnr-21/+25
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_borrowck`.Nicholas Nethercote-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has be converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted.
2023-04-28remove unused `mut`sLukas Markeffsky-1/+1
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-2/+2
All the same reasons as for `[T]`: more general, less pointer chasing, and `&mut IndexSlice` emphasizes that it doesn't change *length*.
2023-03-05Remove `allow(potential_query_instability)` from `borrowck`clubby789-3/+3
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-2/+1
Remove the `..` from the body, only a few invocations used it and it's inconsistent with rust syntax. Use `;` instead of `,` between consts. As the Rust syntax gods inteded.
2022-12-18Make `#[debug_format]` an attribute in `newtype_index`Nilstrieb-1/+1
This removes the `custom` format functionality as its only user was trivially migrated to using a normal format. If a new use case for a custom formatting impl pops up, you can add it back.
2022-11-14Give precendence to regions from member constaints when inferring concrete ↵Camille GILLOT-0/+2
types.
2022-11-09lint auto passAndyJado-0/+2
Revert "lint auto pass" This reverts commit e58e4466384924c491a932d3f18ef50ffa5a5065.
2022-07-26Use real opaque type instead of just saying impl TraitMichael Goulet-0/+3
2022-05-22Lifetime variance fixes for rustcMichael Goulet-3/+6
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-11/+11
2022-05-02fix most compiler/ doctestsElliot Roberts-3/+3
2021-12-15Remove in_band_lifetimes from borrowckDániel Buga-3/+3
2021-10-03Replace Fn impls with RPIT impls in rustc_indexbjorn3-1/+1
This is cleaner and removes an unstable feature usage
2021-09-07Move rustc_mir::borrow_check to new crate rustc_borrowck.Camille GILLOT-0/+224