Skip to content

Commit e3549ee

Browse files
committed
auto merge of #16770 : cburgdorf/rust/patch_overloaded_calls_hint, r=alexcrichton
2 parents dee8423 + 7fb3aa5 commit e3549ee

File tree

1 file changed

+1
-1
lines changed
  • src/librustc/middle/typeck/check

1 file changed

+1
-1
lines changed

src/librustc/middle/typeck/check/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2028,7 +2028,7 @@ fn try_overloaded_call(fcx: &FnCtxt,
20282028
span_err!(fcx.tcx().sess, call_expression.span, E0056,
20292029
"overloaded calls are experimental");
20302030
span_note!(fcx.tcx().sess, call_expression.span,
2031-
"add `#[feature(overloaded_calls)]` to \
2031+
"add `#![feature(overloaded_calls)]` to \
20322032
the crate attributes to enable");
20332033
}
20342034

0 commit comments

Comments
 (0)