Skip to content

Commit e4abcfb

Browse files
Added missing backticks
1 parent eac6fac commit e4abcfb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/librustc_typeck/check/op.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,11 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
368368
Some("std::ops::BitOr"))
369369
},
370370
hir::BinOpKind::Shl => {
371-
(format!("no implementation for `{} << {}", lhs_ty, rhs_ty),
371+
(format!("no implementation for `{} << {}`", lhs_ty, rhs_ty),
372372
Some("std::ops::Shl"))
373373
},
374374
hir::BinOpKind::Shr => {
375-
(format!("no implementation for `{} >> {}", lhs_ty, rhs_ty),
375+
(format!("no implementation for `{} >> {}`", lhs_ty, rhs_ty),
376376
Some("std::ops::Shr"))
377377
},
378378
hir::BinOpKind::Eq |

src/test/ui/issues/issue-28837.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ LL | a | a;
6868
|
6969
= note: an implementation of `std::ops::BitOr` might be missing for `A`
7070

71-
error[E0369]: no implementation for `A << A
71+
error[E0369]: no implementation for `A << A`
7272
--> $DIR/issue-28837.rs:20:7
7373
|
7474
LL | a << a;
@@ -78,7 +78,7 @@ LL | a << a;
7878
|
7979
= note: an implementation of `std::ops::Shl` might be missing for `A`
8080

81-
error[E0369]: no implementation for `A >> A
81+
error[E0369]: no implementation for `A >> A`
8282
--> $DIR/issue-28837.rs:22:7
8383
|
8484
LL | a >> a;

0 commit comments

Comments
 (0)