Skip to content

Commit

Permalink
Span::def_site() is now at rust-lang#54724
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Oct 1, 2018
1 parent 3ced475 commit 7662523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libproc_macro/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ macro_rules! diagnostic_method {

impl Span {
/// A span that resolves at the macro definition site.
#[unstable(feature = "proc_macro_span", issue = "38356")]
#[unstable(feature = "proc_macro_def_site", issue = "54724")]
pub fn def_site() -> Span {
::__internal::with_sess(|_, data| data.def_site)
}
Expand Down

0 comments on commit 7662523

Please sign in to comment.