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/block-result/issue-5500.rs

8 lines
158 B
Rust
Raw Normal View History

Revert "Auto merge of #39485 - canndrew:inference-fix-39297, r=nikomatsakis" This reverts commit dc0bb3f2839c13ab42feacd423f728fbfd2f2f7a, reversing changes made to e879aa43ef63962f8e4d797292194a9f40a22a13. This is a temporary step intended to fix regressions. A more comprehensive fix for type inference and dead-code is in the works.
2017-03-18 12:24:42 -04:00
fn main() {
Add test for #39485
2017-02-04 13:09:04 +08:00
&panic!()
Revert "Auto merge of #39485 - canndrew:inference-fix-39297, r=nikomatsakis" This reverts commit dc0bb3f2839c13ab42feacd423f728fbfd2f2f7a, reversing changes made to e879aa43ef63962f8e4d797292194a9f40a22a13. This is a temporary step intended to fix regressions. A more comprehensive fix for type inference and dead-code is in the works.
2017-03-18 12:24:42 -04:00
//~^ ERROR mismatched types
review comments: tweak prefix strings
2019-11-14 14:08:08 -08:00
//~| expected unit type `()`
Specific labels when referring to "expected" and "found" types
2019-11-13 14:16:56 -08:00
//~| found reference `&_`
Modify primary span label for E0308 The previous output was unintuitive to users.
2023-01-02 18:00:33 -08:00
//~| expected `()`, found `&_`
Add test for #39485
2017-02-04 13:09:04 +08:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 2046ms 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