Skip to content

Commit

Permalink
Added missing backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSeulArtichaut committed Dec 12, 2019
1 parent eac6fac commit e4abcfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/librustc_typeck/check/op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/issues/issue-28837.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit e4abcfb

Please sign in to comment.