Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
300901b70509a0af2d971aa6f6104300da24212c
rust/tests/ui/consts/issue-36163.rs

8 lines
89 B
Rust
Raw Normal View History

Remove "static item recursion checking" in favor of relying on cycle checks in the query engine
2018-02-03 21:15:00 +01:00
const A: isize = Foo::B as isize;
fix stack overflow by enum and cont issue #36163, some paths were skipped while checking for recursion.
2016-09-10 00:11:31 +03:00
enum Foo {
Remove "static item recursion checking" in favor of relying on cycle checks in the query engine
2018-02-03 21:15:00 +01:00
B = A, //~ ERROR E0391
fix stack overflow by enum and cont issue #36163, some paths were skipped while checking for recursion.
2016-09-10 00:11:31 +03:00
}
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 2494ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API