Co-Authored-By: waynr <wayne.warren.s@gmail.com>
This commit is contained in:
Philipp Krones 2018-11-21 06:08:33 -06:00 committed by Wayne Warren
parent cb5e327c58
commit d4a6ee4a0c

View file

@ -118,7 +118,7 @@ impl<'a, 'tcx> TriviallyCopyPassByRef {
for (input, &ty) in decl.inputs.iter().zip(sig.inputs()) {
// All spans generated from a proc-macro invocation are the same...
match span {
Some(s) if s == input.span => return,
Some(s) if s == input.span => return,
_ => (),
}