Added missing backticks
This commit is contained in:
parent
eac6fac10b
commit
e4abcfbd34
@ -368,11 +368,11 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
||||
Some("std::ops::BitOr"))
|
||||
},
|
||||
hir::BinOpKind::Shl => {
|
||||
(format!("no implementation for `{} << {}", lhs_ty, rhs_ty),
|
||||
(format!("no implementation for `{} << {}`", lhs_ty, rhs_ty),
|
||||
Some("std::ops::Shl"))
|
||||
},
|
||||
hir::BinOpKind::Shr => {
|
||||
(format!("no implementation for `{} >> {}", lhs_ty, rhs_ty),
|
||||
(format!("no implementation for `{} >> {}`", lhs_ty, rhs_ty),
|
||||
Some("std::ops::Shr"))
|
||||
},
|
||||
hir::BinOpKind::Eq |
|
||||
|
@ -68,7 +68,7 @@ LL | a | a;
|
||||
|
|
||||
= note: an implementation of `std::ops::BitOr` might be missing for `A`
|
||||
|
||||
error[E0369]: no implementation for `A << A
|
||||
error[E0369]: no implementation for `A << A`
|
||||
--> $DIR/issue-28837.rs:20:7
|
||||
|
|
||||
LL | a << a;
|
||||
@ -78,7 +78,7 @@ LL | a << a;
|
||||
|
|
||||
= note: an implementation of `std::ops::Shl` might be missing for `A`
|
||||
|
||||
error[E0369]: no implementation for `A >> A
|
||||
error[E0369]: no implementation for `A >> A`
|
||||
--> $DIR/issue-28837.rs:22:7
|
||||
|
|
||||
LL | a >> a;
|
||||
|
Loading…
x
Reference in New Issue
Block a user