about summary refs log tree commit diff
path: root/compiler/rustc_index/src/vec
AgeCommit message (Collapse)AuthorLines
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-2/+0
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them. These functions were added to all preludes in Rust 1.80.
2025-02-08Rustfmtbjorn3-10/+8
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-8/+10
2023-11-22Replace `no_ord_impl` with `orderable`.Nicholas Nethercote-0/+1
Similar to the previous commit, this replaces `newtype_index`'s opt-out `no_ord_impl` attribute with the opt-in `orderable` attribute.
2023-11-18Begin nightly-ifying rustc_type_irMichael Goulet-1/+1
2023-11-13Remove unnecessary annotation.Nicholas Nethercote-2/+0
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-1/+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 `#[max]` an attribute in `newtype_index`Nilstrieb-1/+4
2022-02-24Fix testAaron Hill-1/+5
2020-08-30mv compiler to compiler/mark-0/+51