Skip to content

Commit 0979ddf

Browse files
committed
Update trybuild snapshots
1 parent 2b0b5fd commit 0979ddf

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

bon/tests/integration/ui/compile_fail/attr_bon.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: Unknown field: `attrs`
1+
error: Unknown field: `attrs`. Available values: `crate`
22
--> tests/integration/ui/compile_fail/attr_bon.rs:5:7
33
|
44
5 | #[bon(attrs)]

bon/tests/integration/ui/compile_fail/attr_derive.stderr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ error: `#[builder(derive(Into))` is not supported for async functions because `F
7676
127 | async unsafe fn unsafe_async_function() -> Self {
7777
| ^^^^^
7878

79-
error: Unexpected meta-item format `list`
80-
--> tests/integration/ui/compile_fail/attr_derive.rs:132:18
79+
error: Unknown field: `bounds`
80+
--> tests/integration/ui/compile_fail/attr_derive.rs:132:23
8181
|
8282
132 | #[builder(derive(Into(bounds(u32: Copy))))]
83-
| ^^^^
83+
| ^^^^^^
8484

8585
error[E0277]: the trait bound `NoTraitImpls: Clone` is not satisfied
8686
--> tests/integration/ui/compile_fail/attr_derive.rs:9:23
@@ -159,9 +159,9 @@ note: required by a bound in `as_dyn_debug`
159159
| ^^^^^ required by this bound in `as_dyn_debug`
160160
help: consider annotating `NoTraitImpls` with `#[derive(Debug)]`
161161
|
162-
3 + #[derive(Debug)]
163-
4 | struct NoTraitImpls;
164-
|
162+
3 + #[derive(Debug)]
163+
4 | struct NoTraitImpls;
164+
|
165165

166166
error[E0277]: `NoTraitImpls` doesn't implement `Debug`
167167
--> tests/integration/ui/compile_fail/attr_derive.rs:11:24

0 commit comments

Comments
 (0)