From f52bd5e4b75c48d94876e3909c7bf6f8f0a1c26a Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 17 Jan 2014 16:22:48 -0800 Subject: rustc: Feature gate `log_syntax!`. Closes #11602 --- src/test/compile-fail/log-syntax-gate.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/test/compile-fail/log-syntax-gate.rs (limited to 'src/test') diff --git a/src/test/compile-fail/log-syntax-gate.rs b/src/test/compile-fail/log-syntax-gate.rs new file mode 100644 index 00000000000..b74c1d61eb8 --- /dev/null +++ b/src/test/compile-fail/log-syntax-gate.rs @@ -0,0 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +fn main() { + log_syntax!() //~ ERROR `log_syntax!` is not stable enough +} \ No newline at end of file -- cgit 1.4.1-3-g733a5