diff options
| author | Gaëtan Cassiers <gaetan.cassiers@gmail.com> | 2015-07-25 18:58:16 +0200 |
|---|---|---|
| committer | Gaëtan Cassiers <gaetan.cassiers@gmail.com> | 2015-07-25 18:58:16 +0200 |
| commit | ff301efa4e0f433dccaa9de920da19b5492e24e8 (patch) | |
| tree | 69af44ee5fc1a24ca3c63f6102d5ff228d632fa8 /tests/source/expr.rs | |
| parent | 8461e8a0a8b1dd825f30de9d5bc4f5c1d8d57dbd (diff) | |
Fix width computation in rewrite_binary_op
Operator width was counted twice.
Diffstat (limited to 'tests/source/expr.rs')
| -rw-r--r-- | tests/source/expr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/source/expr.rs b/tests/source/expr.rs index 74538c13597..9a69d68987f 100644 --- a/tests/source/expr.rs +++ b/tests/source/expr.rs @@ -7,6 +7,7 @@ fn foo() -> bool { let very_long_variable_name = ( a + first + simple + test ); let very_long_variable_name = (a + first + simple + test + AAAAAAAAAAAAA + BBBBBBBBBBBBBBBBB + b + c); + //FIXME this exceeds width limit. Needs assignments reformatting let is_internalxxxx = self.codemap.span_to_filename(s) == self.codemap.span_to_filename(m.inner); let some_val = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa * bbbb / (bbbbbb - |
