diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-26 13:42:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-26 13:42:33 +0200 |
| commit | aa89e91de671a28914e3ec7f8f3137100c3a19d5 (patch) | |
| tree | 56c089d692f26a921152702e8a32ea57acce156b /src | |
| parent | 4a9b9765bb0bd77a1d201f5dcbf2e84adffa162a (diff) | |
| parent | b6817890d3a82f87a95d4f5f55170ff04968ebd3 (diff) | |
| download | rust-aa89e91de671a28914e3ec7f8f3137100c3a19d5.tar.gz rust-aa89e91de671a28914e3ec7f8f3137100c3a19d5.zip | |
Rollup merge of #71574 - jplatte:patch-2, r=petrochenkov
proc_macro: Fix since attributes for new Span methods Added in #69041, took a while to merge so the since attributes went out of date.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libproc_macro/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index 5995f64dc78..86e39094935 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -351,14 +351,14 @@ impl Span { /// Creates a new span with the same line/column information as `self` but /// that resolves symbols as though it were at `other`. - #[stable(feature = "proc_macro_span_resolved_at", since = "1.43.0")] + #[stable(feature = "proc_macro_span_resolved_at", since = "1.45.0")] pub fn resolved_at(&self, other: Span) -> Span { Span(self.0.resolved_at(other.0)) } /// Creates a new span with the same name resolution behavior as `self` but /// with the line/column information of `other`. - #[stable(feature = "proc_macro_span_located_at", since = "1.43.0")] + #[stable(feature = "proc_macro_span_located_at", since = "1.45.0")] pub fn located_at(&self, other: Span) -> Span { other.resolved_at(*self) } |
