File tree Expand file tree Collapse file tree
bon/tests/integration/ui/compile_fail Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 |
445 | #[bon(attrs)]
Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ error: `#[builder(derive(Into))` is not supported for async functions because `F
7676127 | 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 |
8282132 | #[builder(derive(Into(bounds(u32: Copy))))]
83- | ^^^^
83+ | ^^ ^^^^
8484
8585error[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`
160160help: 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
166166error[E0277]: `NoTraitImpls` doesn't implement `Debug`
167167 --> tests/integration/ui/compile_fail/attr_derive.rs:11:24
You can’t perform that action at this time.
0 commit comments