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
3f057dd600d1db142c3bd50c7bf4ec220a35e45f
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.

10 lines
152 B
Rust
Raw Normal View History

Revert "Update newly failing UI tests" This reverts commit 9c46173895430c63066731440e00faf0ab2195dd.
2023-01-19 20:27:00 +01:00
// check-pass
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 {
Revert "Update newly failing UI tests" This reverts commit 9c46173895430c63066731440e00faf0ab2195dd.
2023-01-19 20:27:00 +01:00
// rustdoc doesn't care that this is infinitely sized
enum E {
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: 574ms Template: 2ms
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