From b4e30bd2a3946c1f0a24ef52a130e0b8fddc00a8 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Wed, 14 Oct 2015 12:30:10 +0200 Subject: allow constant evaluation of function calls --- src/test/compile-fail/const-eval-span.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/compile-fail/const-eval-span.rs') diff --git a/src/test/compile-fail/const-eval-span.rs b/src/test/compile-fail/const-eval-span.rs index 8e9209916f3..3e75afcda6d 100644 --- a/src/test/compile-fail/const-eval-span.rs +++ b/src/test/compile-fail/const-eval-span.rs @@ -14,7 +14,7 @@ struct S(i32); const CONSTANT: S = S(0); -//~^ ERROR: constant evaluation error: unsupported constant expr +//~^ ERROR: constant evaluation error: non-constant path in constant expression [E0080] enum E { V = CONSTANT, -- cgit 1.4.1-3-g733a5