We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6ed22 commit 3181213Copy full SHA for 3181213
src/libsyntax/codemap.rs
@@ -848,7 +848,7 @@ impl CodeMap {
848
849
let span_comes_from_this_expansion =
850
info.callee.span.map_or(span == info.call_site, |mac_span| {
851
- mac_span.lo <= span.lo && span.hi < mac_span.hi
+ mac_span.lo <= span.lo && span.hi <= mac_span.hi
852
});
853
854
debug!("span_allows_unstable: from this expansion? {}, allows unstable? {}",
0 commit comments