Skip to content

Commit

Permalink
Update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Veetaha committed Feb 4, 2025
1 parent 22804ca commit 05c8a99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bon/tests/integration/ui/compile_fail/attr_getter.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ error[E0277]: the trait bound `NonClone: Clone` is not satisfied
--> tests/integration/ui/compile_fail/attr_getter.rs:60:16
|
60 | x2: Option<NonClone>,
| ^^^^^^^^ the trait `Clone` is not implemented for `NonClone`, which is required by `Option<NonClone>: Clone`
| ^^^^^^^^ the trait `Clone` is not implemented for `NonClone`
|
= note: required for `Option<NonClone>` to implement `Clone`
help: consider annotating `NonClone` with `#[derive(Clone)]`
Expand All @@ -123,7 +123,7 @@ error[E0277]: the trait bound `NonClone: Clone` is not satisfied
--> tests/integration/ui/compile_fail/attr_getter.rs:63:9
|
63 | x3: NonClone,
| ^^^^^^^^ the trait `Clone` is not implemented for `NonClone`, which is required by `Option<NonClone>: Clone`
| ^^^^^^^^ the trait `Clone` is not implemented for `NonClone`
|
= note: required for `Option<NonClone>` to implement `Clone`
help: consider annotating `NonClone` with `#[derive(Clone)]`
Expand Down
2 changes: 1 addition & 1 deletion bon/tests/integration/ui/compile_fail/attr_required.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ error[E0277]: the member `Unset<arg1>` was not set, but this method requires it
51 | let _ = Sut::builder().build();
| ^^^^^ the member `Unset<arg1>` was not set, but this method requires it to be set
|
= help: the trait `IsSet` is not implemented for `Unset<arg1>`, which is required by `sut_builder::Empty: sut_builder::IsComplete`
= help: the trait `IsSet` is not implemented for `Unset<arg1>`
= help: the trait `IsSet` is implemented for `Set<Name>`
note: required for `sut_builder::Empty` to implement `sut_builder::IsComplete`
--> tests/integration/ui/compile_fail/attr_required.rs:45:18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ error[E0277]: the member `Unset<y>` was not set, but this method requires it to
14 | let _ = Example::builder().x(1).build();
| ^^^^^ the member `Unset<y>` was not set, but this method requires it to be set
|
= help: the trait `IsSet` is not implemented for `Unset<y>`, which is required by `SetX: IsComplete`
= help: the trait `IsSet` is not implemented for `Unset<y>`
= help: the trait `IsSet` is implemented for `Set<Name>`
note: required for `SetX` to implement `IsComplete`
--> tests/integration/ui/compile_fail/diagnostic_on_unimplemented.rs:4:14
Expand All @@ -26,7 +26,7 @@ error[E0277]: the member `Unset<renamed>` was not set, but this method requires
14 | let _ = Example::builder().x(1).build();
| ^^^^^ the member `Unset<renamed>` was not set, but this method requires it to be set
|
= help: the trait `IsSet` is not implemented for `Unset<renamed>`, which is required by `SetX: IsComplete`
= help: the trait `IsSet` is not implemented for `Unset<renamed>`
= help: the trait `IsSet` is implemented for `Set<Name>`
note: required for `SetX` to implement `IsComplete`
--> tests/integration/ui/compile_fail/diagnostic_on_unimplemented.rs:4:14
Expand Down

0 comments on commit 05c8a99

Please sign in to comment.