From cbafc307fc50157b6894f3c2930cb4157c182e2a Mon Sep 17 00:00:00 2001 From: Yoshitomo Nakanishi Date: Sat, 22 Apr 2023 11:16:51 +0200 Subject: [PATCH] Fix trybuild ui test to adapt the change of rustc error message --- .../compile-fail/get-set-on-private-field.stderr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/salsa-2022-tests/tests/compile-fail/get-set-on-private-field.stderr b/salsa-2022-tests/tests/compile-fail/get-set-on-private-field.stderr index 8d547292..a037885a 100644 --- a/salsa-2022-tests/tests/compile-fail/get-set-on-private-field.stderr +++ b/salsa-2022-tests/tests/compile-fail/get-set-on-private-field.stderr @@ -1,17 +1,17 @@ -error[E0624]: associated function `field` is private +error[E0624]: method `field` is private --> tests/compile-fail/get-set-on-private-field.rs:29:11 | 7 | #[salsa::input(jar = Jar)] - | -------------------------- private associated function defined here + | -------------------------- private method defined here ... 29 | input.field(&db); - | ^^^^^ private associated function + | ^^^^^ private method -error[E0624]: associated function `set_field` is private +error[E0624]: method `set_field` is private --> tests/compile-fail/get-set-on-private-field.rs:30:11 | 7 | #[salsa::input(jar = Jar)] - | -------------------------- private associated function defined here + | -------------------------- private method defined here ... 30 | input.set_field(&mut db).to(23); - | ^^^^^^^^^ private associated function + | ^^^^^^^^^ private method