Skip to content

Commit

Permalink
Fix unstable span checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Mar 11, 2015
1 parent bd6ed22 commit 3181213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/codemap.rs
Expand Up @@ -848,7 +848,7 @@ impl CodeMap {

let span_comes_from_this_expansion =
info.callee.span.map_or(span == info.call_site, |mac_span| {
mac_span.lo <= span.lo && span.hi < mac_span.hi
mac_span.lo <= span.lo && span.hi <= mac_span.hi
});

debug!("span_allows_unstable: from this expansion? {}, allows unstable? {}",
Expand Down

0 comments on commit 3181213

Please sign in to comment.