diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-02-03 21:15:00 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-02-10 00:29:11 +0100 |
| commit | ae46434b7936d1f1d71cb92c45ddcf936ec0eb24 (patch) | |
| tree | 7e47ee934f8bb760bd3ed3a114c70cdc29235d2c /src/test/compile-fail/const-recursive.rs | |
| parent | 3bcda48a30b21e46b81a7989deb30a3ba85fb918 (diff) | |
| download | rust-ae46434b7936d1f1d71cb92c45ddcf936ec0eb24.tar.gz rust-ae46434b7936d1f1d71cb92c45ddcf936ec0eb24.zip | |
Remove "static item recursion checking" in favor of relying on cycle checks in the query engine
Diffstat (limited to 'src/test/compile-fail/const-recursive.rs')
| -rw-r--r-- | src/test/compile-fail/const-recursive.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/compile-fail/const-recursive.rs b/src/test/compile-fail/const-recursive.rs deleted file mode 100644 index 7c05a817243..00000000000 --- a/src/test/compile-fail/const-recursive.rs +++ /dev/null @@ -1,15 +0,0 @@ -// 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 <LICENSE-APACHE or -// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license -// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -const a: isize = b; //~ ERROR recursive constant -const b: isize = a; //~ ERROR recursive constant - -fn main() { -} |
