From 7fb3aa5eeaefdb37980cb974bc9e64ae8c56e4fd Mon Sep 17 00:00:00 2001 From: Christoph Burgdorf Date: Tue, 26 Aug 2014 22:44:53 +0200 Subject: [PATCH] add missing ! char to feature gate hint --- src/librustc/middle/typeck/check/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }