add missing ! char to feature gate hint

This commit is contained in:
Christoph Burgdorf 2014-08-26 22:44:53 +02:00
parent 80b45ddbd3
commit 7fb3aa5eea

View File

@ -1645,7 +1645,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");
}