Skip to content

Commit a9f72fe

Browse files
committed
trairing new line
1 parent 7ac58f3 commit a9f72fe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/ui/traits/issue-120878.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
fn main() {
2-
struct StructA<A, B =A> {
2+
struct StructA<A, B = A> {
33
_marker: std::marker::PhantomData<fn() -> (A, B)>,
44
}
55

66
struct StructB {
77
a: StructA<isize, [u8]>,
88
}
9-
}
9+
}

tests/ui/traits/issue-120878.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ LL | struct StructA<A, B =A> {
1212
| ^^^^ required by the implicit `Sized` requirement on this type parameter in `StructA`
1313
help: consider relaxing the implicit `Sized` restriction
1414
|
15-
LL | struct StructA<A, B: ?Sized =A> {
15+
LL | struct StructA<A, B: ?Sized = A> {
1616
| ++++++++
1717

18-
For more information about this error, try `rustc --explain E0277`.
18+
For more information about this error, try `rustc --explain E0277`.

0 commit comments

Comments
 (0)