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
c5c05c2528944e64bea76cb9e07e2aeb4be3cb15
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: 4457ms 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