diff options
author | Lukas Wirth <lukastw97@gmail.com> | 2021-02-20 19:43:04 +0000 |
---|---|---|
committer | Lukas Wirth <lukastw97@gmail.com> | 2021-02-20 19:43:04 +0000 |
commit | 0799288f0189c07907a30787e7d2f5f0bf960996 (patch) | |
tree | f88d886853bd27a397eef1c73e4b5fcf6ae75d65 /crates/hir_ty/src/tests | |
parent | 9e5192d917e998d78fd25c4013eb8117f7401068 (diff) |
Don't write trailing whitespace when formatting empty GenericPredicates
Diffstat (limited to 'crates/hir_ty/src/tests')
-rw-r--r-- | crates/hir_ty/src/tests/traits.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_ty/src/tests/traits.rs b/crates/hir_ty/src/tests/traits.rs index 744fb5ff2..1298e5a88 100644 --- a/crates/hir_ty/src/tests/traits.rs +++ b/crates/hir_ty/src/tests/traits.rs | |||
@@ -1410,9 +1410,9 @@ fn weird_bounds() { | |||
1410 | "#, | 1410 | "#, |
1411 | expect![[r#" | 1411 | expect![[r#" |
1412 | 23..24 'a': impl Trait | 1412 | 23..24 'a': impl Trait |
1413 | 50..51 'b': impl | 1413 | 50..51 'b': impl |
1414 | 69..70 'c': impl Trait | 1414 | 69..70 'c': impl Trait |
1415 | 86..87 'd': impl | 1415 | 86..87 'd': impl |
1416 | 107..108 'e': impl {error} | 1416 | 107..108 'e': impl {error} |
1417 | 123..124 'f': impl Trait + {error} | 1417 | 123..124 'f': impl Trait + {error} |
1418 | 147..149 '{}': () | 1418 | 147..149 '{}': () |