diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-18 21:06:44 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-18 21:06:44 +0100 |
| commit | 93429948cf0e6fe8aac3802a8fbc73a121463994 (patch) | |
| tree | 6baa821628609aa33ee3baa5cc92f76f66672790 /compiler/rustc_span | |
| parent | 88d5f7f4ce72e3489193fb41e687c53809b5c6bd (diff) | |
| download | rust-93429948cf0e6fe8aac3802a8fbc73a121463994.tar.gz rust-93429948cf0e6fe8aac3802a8fbc73a121463994.zip | |
Make `#[no_ord_impl]` an attribute in `newtype_index`
Diffstat (limited to 'compiler/rustc_span')
| -rw-r--r-- | compiler/rustc_span/src/hygiene.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/hygiene.rs b/compiler/rustc_span/src/hygiene.rs index 4fb56dac856..2de559c5a70 100644 --- a/compiler/rustc_span/src/hygiene.rs +++ b/compiler/rustc_span/src/hygiene.rs @@ -83,8 +83,8 @@ impl fmt::Debug for ExpnId { rustc_index::newtype_index! { /// A unique ID associated with a macro invocation and expansion. #[custom_encodable] + #[no_ord_impl] pub struct LocalExpnId { - ORD_IMPL = custom DEBUG_FORMAT = "expn{}" } } |
