mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-15 09:48:53 +00:00
Fix trybuild ui test to adapt the change of rustc error message
This commit is contained in:
parent
5718229882
commit
cbafc307fc
1 changed files with 6 additions and 6 deletions
|
@ -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
|
--> tests/compile-fail/get-set-on-private-field.rs:29:11
|
||||||
|
|
|
|
||||||
7 | #[salsa::input(jar = Jar)]
|
7 | #[salsa::input(jar = Jar)]
|
||||||
| -------------------------- private associated function defined here
|
| -------------------------- private method defined here
|
||||||
...
|
...
|
||||||
29 | input.field(&db);
|
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
|
--> tests/compile-fail/get-set-on-private-field.rs:30:11
|
||||||
|
|
|
|
||||||
7 | #[salsa::input(jar = Jar)]
|
7 | #[salsa::input(jar = Jar)]
|
||||||
| -------------------------- private associated function defined here
|
| -------------------------- private method defined here
|
||||||
...
|
...
|
||||||
30 | input.set_field(&mut db).to(23);
|
30 | input.set_field(&mut db).to(23);
|
||||||
| ^^^^^^^^^ private associated function
|
| ^^^^^^^^^ private method
|
||||||
|
|
Loading…
Reference in a new issue