We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8eca1b3 + 2b9add2 commit e3e54d9Copy full SHA for e3e54d9
src/libproc_macro/lib.rs
@@ -247,7 +247,7 @@ impl Span {
247
#[unstable(feature = "proc_macro", issue = "38356")]
248
pub fn join(&self, other: Span) -> Option<Span> {
249
let self_loc = __internal::lookup_char_pos(self.0.lo());
250
- let other_loc = __internal::lookup_char_pos(self.0.lo());
+ let other_loc = __internal::lookup_char_pos(other.0.lo());
251
252
if self_loc.file.name != other_loc.file.name { return None }
253
0 commit comments