diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-18 21:22:14 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-18 21:22:14 +0100 |
| commit | 91c3c2040ce109d6e9ea00ffb8e8f69f3fd6d9bb (patch) | |
| tree | 626f4cb52fe019aa00ad7a52c1f7501351474dd4 /compiler/rustc_query_system/src | |
| parent | 93429948cf0e6fe8aac3802a8fbc73a121463994 (diff) | |
| download | rust-91c3c2040ce109d6e9ea00ffb8e8f69f3fd6d9bb.tar.gz rust-91c3c2040ce109d6e9ea00ffb8e8f69f3fd6d9bb.zip | |
Make `#[max]` an attribute in `newtype_index`
Diffstat (limited to 'compiler/rustc_query_system/src')
| -rw-r--r-- | compiler/rustc_query_system/src/dep_graph/serialized.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/dep_graph/serialized.rs b/compiler/rustc_query_system/src/dep_graph/serialized.rs index d292f4beef2..fbc0aeb6c80 100644 --- a/compiler/rustc_query_system/src/dep_graph/serialized.rs +++ b/compiler/rustc_query_system/src/dep_graph/serialized.rs @@ -27,8 +27,8 @@ use smallvec::SmallVec; // unused so that we can store multiple index types in `CompressedHybridIndex`, // and use those bits to encode which index type it contains. rustc_index::newtype_index! { + #[max = 0x7FFF_FFFF] pub struct SerializedDepNodeIndex { - MAX = 0x7FFF_FFFF } } |
