Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/iterators/fold-iterator-error-23966.rs

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

6 lines
121 B
Rust
Raw Normal View History

Rehome tests/ui/issues/ tests [3/?]
2025-07-13 16:25:27 -04:00
// https://github.com/rust-lang/rust/issues/23966
Split up tests, reduce coverage
2015-04-24 12:34:27 -06:00
fn main() {
Change error scheme so that if projection fails we generate `A::B` instead of `TyError`
2016-01-07 13:51:16 -05:00
"".chars().fold(|_, _| (), ());
//~^ ERROR E0277
Delay specific span_bug() call until abort_if_errors() An actual typeck error is the cause of many failed compilations but an unrelated bug is being reported instead. It is triggered because a typeck error is presumably not yet identified during compiler execution, which would normally bypass an invariant in the presence of other errors. In this particular situation, we delay the reporting of the bug until abort_if_errors(). Closes #23827, closes #24356, closes #23041, closes #22897, closes #23966, closes #24013, and closes #23729
2015-04-13 01:13:09 -06:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 5008ms Template: 4ms
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