about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/transitive_relation.rs
AgeCommit message (Collapse)AuthorLines
2025-04-14Handle regions equivalent to 'static in non_local_boundsMatthew Jasper-0/+14
`non_local_bounds` would only find non local bounds that strictly bound a given region, but it's possible that a local region is equated to 'static when showing a type referencing a locally bound lifetime, such as `dyn Any + 'a` in the tests added, is well-formed. In this case we should return 'static.
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-3/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+5
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-10-19Use Set instead of Vec in transitive_relationnils-7/+5
2022-08-22get rid of `RefCell` in `TransitiveRelation`SparrowLii-54/+67
2022-05-02fix most compiler/ doctestsElliot Roberts-1/+1
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-17/+17
2022-02-19Adopt let else in more placesest31-8/+4
2021-03-17Move some test-only code to test filesJoshua Nelson-8/+2
This also relaxes the bounds on some structs and moves them to the impl block instead.
2020-10-29Fix typosDániel Buga-2/+2
2020-08-30mv compiler to compiler/mark-0/+402