auto merge of #16770 : cburgdorf/rust/patch_overloaded_calls_hint, r=alexcrichton
This commit is contained in:
commit
e3549ee202
|
@ -2028,7 +2028,7 @@ fn try_overloaded_call(fcx: &FnCtxt,
|
|||
span_err!(fcx.tcx().sess, call_expression.span, E0056,
|
||||
"overloaded calls are experimental");
|
||||
span_note!(fcx.tcx().sess, call_expression.span,
|
||||
"add `#[feature(overloaded_calls)]` to \
|
||||
"add `#![feature(overloaded_calls)]` to \
|
||||
the crate attributes to enable");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue