From 1203dfacd0d6cc0f906af12c336932c027b7dad6 Mon Sep 17 00:00:00 2001 From: Ted Driggs Date: Wed, 2 Oct 2024 09:19:51 -0700 Subject: [PATCH] Fix compiletest error message Removing pretty_assertions broke this by changing line numbers --- .../tests/compile-fail/rename_setter_struct_level.stderr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/derive_builder/tests/compile-fail/rename_setter_struct_level.stderr b/derive_builder/tests/compile-fail/rename_setter_struct_level.stderr index 5e2141b1..a4622ce4 100644 --- a/derive_builder/tests/compile-fail/rename_setter_struct_level.stderr +++ b/derive_builder/tests/compile-fail/rename_setter_struct_level.stderr @@ -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`