fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
568 B17 linesraw
1error[E0282]: type annotations needed for `Value<Rc<_>>`
2  --> $DIR/deref-ambiguity-becomes-nonambiguous.rs:31:9
3   |
4LL |     let var_fn = Value::wrap();
5   |         ^^^^^^
6...
7LL |     let _ = var_fn.clone();
8   |                    ----- type must be known at this point
9   |
10help: consider giving `var_fn` an explicit type, where the placeholders `_` are specified
11   |
12LL |     let var_fn: Value<Rc<_>> = Value::wrap();
13   |               ++++++++++++++
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0282`.