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
8b80bc1bf4719270a9b4bf8f4cc682bb18a574c7
rust/tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
89 B
Rust
Raw Normal View History

EXTREMELY hacky fix This runs _just_ enough of typeck that later queries don't panic. Because this is in the same part of the compiler that errors on `impl Trait`, this special-cases impl Trait for rustdoc and no one else. Everything is fine.
2020-08-07 20:07:07 -04:00
fn f() -> impl Sized {
Update newly failing UI tests
2022-11-25 16:31:43 +01:00
enum E { //~ ERROR
EXTREMELY hacky fix This runs _just_ enough of typeck that later queries don't panic. Because this is in the same part of the compiler that errors on `impl Trait`, this special-cases impl Trait for rustdoc and no one else. Everything is fine.
2020-08-07 20:07:07 -04:00
V(E),
}
unimplemented!()
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 749ms 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