about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChristoph Burgdorf <christoph.burgdorf@bvsn.org>2014-08-26 22:44:53 +0200
committerChristoph Burgdorf <christoph.burgdorf@bvsn.org>2014-08-26 22:44:53 +0200
commit7fb3aa5eeaefdb37980cb974bc9e64ae8c56e4fd (patch)
treeb84b68c6839fb7276310b327bbfea2ad4d683641 /src
parent80b45ddbd351f0a4a939c3a3c4e20b4defec4b35 (diff)
downloadrust-7fb3aa5eeaefdb37980cb974bc9e64ae8c56e4fd.tar.gz
rust-7fb3aa5eeaefdb37980cb974bc9e64ae8c56e4fd.zip
add missing ! char to feature gate hint
Diffstat (limited to 'src')
-rw-r--r--src/librustc/middle/typeck/check/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/typeck/check/mod.rs b/src/librustc/middle/typeck/check/mod.rs
index 02464e17bac..1e7c72f5eef 100644
--- a/src/librustc/middle/typeck/check/mod.rs
+++ b/src/librustc/middle/typeck/check/mod.rs
@@ -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");
         }