Skip to content

Commit 7fb3aa5

Browse files
committed
add missing ! char to feature gate hint
1 parent 80b45dd commit 7fb3aa5

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ fn try_overloaded_call(fcx: &FnCtxt,
16451645
span_err!(fcx.tcx().sess, call_expression.span, E0056,
16461646
"overloaded calls are experimental");
16471647
span_note!(fcx.tcx().sess, call_expression.span,
1648-
"add `#[feature(overloaded_calls)]` to \
1648+
"add `#![feature(overloaded_calls)]` to \
16491649
the crate attributes to enable");
16501650
}
16511651

0 commit comments

Comments
 (0)