diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-27 03:26:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-27 03:26:05 +0200 |
| commit | 9d0025263a55f1bcb80ebdc0d83d1e64cdf05e5a (patch) | |
| tree | 210aa2889f07d320252873f5ea28a80b0486cb9d /src/libproc_macro | |
| parent | e83f7563495dbe2629b0cbc738afb0808c4482e1 (diff) | |
| parent | f5223a34354183f0f45e5c25c199b05e3422a045 (diff) | |
| download | rust-9d0025263a55f1bcb80ebdc0d83d1e64cdf05e5a.tar.gz rust-9d0025263a55f1bcb80ebdc0d83d1e64cdf05e5a.zip | |
Rollup merge of #68716 - petrochenkov:stabmixed, r=dtolnay
Stabilize `Span::mixed_site`
Closes https://github.com/rust-lang/rust/issues/65049.
cc https://github.com/rust-lang/rust/issues/54727#issuecomment-580647446
Pre-requisite for https://github.com/rust-lang/rust/pull/68717 ("Stabilize fn-like proc macros in expression, pattern and statement positions").
Stabilization report: https://github.com/rust-lang/rust/pull/68716#issuecomment-581076337.
Diffstat (limited to 'src/libproc_macro')
| -rw-r--r-- | src/libproc_macro/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index 86e39094935..31bc61263ab 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -303,7 +303,7 @@ impl Span { /// definition site (local variables, labels, `$crate`) and sometimes at the macro /// call site (everything else). /// The span location is taken from the call-site. - #[unstable(feature = "proc_macro_mixed_site", issue = "65049")] + #[stable(feature = "proc_macro_mixed_site", since = "1.45.0")] pub fn mixed_site() -> Span { Span(bridge::client::Span::mixed_site()) } |
