Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/libproc_macro/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ impl Span {
/// at the macro call site will be able to refer to them as well.
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
pub fn call_site() -> Span {
Span(bridge::client::Span::call_site())
let _ = bridge::client::Span::call_site;
Self::mixed_site()
}

/// A span that represents `macro_rules` hygiene, and sometimes resolves at the macro
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/proc-macro/call-site.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// run-pass
// ignore-test

#![allow(unused_variables)]
#![allow(unused_imports)]
Expand Down