Skip to content

Commit 8e8dbc2

Browse files
committed
op-assign-builtins-by-ref
1 parent ccc1b65 commit 8e8dbc2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/ui/binop/compound-assign-by-ref.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
//! Test compound assignment operators with reference right-hand side.
2+
13
//@ run-pass
24

35
fn main() {
4-
// test compound assignment operators with ref as right-hand side,
5-
// for each operator, with various types as operands.
6-
76
// test AddAssign
87
{
98
let mut x = 3i8;

0 commit comments

Comments
 (0)