diff options
| author | Martin Nordholts <martin.nordholts@codetale.se> | 2024-01-12 08:21:42 +0100 |
|---|---|---|
| committer | Martin Nordholts <martin.nordholts@codetale.se> | 2024-01-15 19:07:11 +0100 |
| commit | 16ba56c24238b2f44e0a97da760c83d8795abd80 (patch) | |
| tree | 7b6b595de31dc60239c669591f3231a6648b7840 /compiler/rustc_span/src/source_map.rs | |
| parent | 924ea05103da3bd25e6021535615ca7f8b9ec76d (diff) | |
| download | rust-16ba56c24238b2f44e0a97da760c83d8795abd80.tar.gz rust-16ba56c24238b2f44e0a97da760c83d8795abd80.zip | |
compiler: Lower fn call arg spans down to MIR
To enable improved accuracy of diagnostics in upcoming commits.
Diffstat (limited to 'compiler/rustc_span/src/source_map.rs')
| -rw-r--r-- | compiler/rustc_span/src/source_map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/source_map.rs b/compiler/rustc_span/src/source_map.rs index 8253ffefcaa..72a8b23721d 100644 --- a/compiler/rustc_span/src/source_map.rs +++ b/compiler/rustc_span/src/source_map.rs @@ -70,7 +70,7 @@ mod monotonic { impl<T> !DerefMut for MonotonicVec<T> {} } -#[derive(Clone, Encodable, Decodable, Debug, Copy, HashStable_Generic)] +#[derive(Clone, Encodable, Decodable, Debug, Copy, PartialEq, Hash, HashStable_Generic)] pub struct Spanned<T> { pub node: T, pub span: Span, |
