]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-42880.stderr
point at private fields in struct literal
[rust.git] / src / test / ui / issues / issue-42880.stderr
1 error[E0599]: no associated item named `String` found for struct `String` in the current scope
2   --> $DIR/issue-42880.rs:4:22
3    |
4 LL |     let f = |&Value::String(_)| ();
5    |                      ^^^^^^ associated item not found in `String`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0599`.