Skip to content

Commit

Permalink
Fix compiletest error message
Browse files Browse the repository at this point in the history
Removing pretty_assertions broke this by changing line numbers
  • Loading branch information
TedDriggs committed Oct 2, 2024
1 parent 5cca75a commit 1203dfa
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
error: Unknown field: `name`
--> tests/compile-fail/rename_setter_struct_level.rs:7:18
--> tests/compile-fail/rename_setter_struct_level.rs:5:18
|
7 | #[builder(setter(name = "foo"))]
5 | #[builder(setter(name = "foo"))]
| ^^^^

error[E0433]: failed to resolve: use of undeclared type `LoremBuilder`
--> tests/compile-fail/rename_setter_struct_level.rs:14:13
--> tests/compile-fail/rename_setter_struct_level.rs:12:13
|
14 | let x = LoremBuilder::default()
12 | let x = LoremBuilder::default()
| ^^^^^^^^^^^^ use of undeclared type `LoremBuilder`

0 comments on commit 1203dfa

Please sign in to comment.