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
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/suggestions/issue-61226.rs

7 lines
117 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-rustfix
Do not ICE when synthesizing spans falling inside unicode chars
2019-08-12 23:31:13 -07:00
struct X {}
review comment: remove unecessary error in test
2019-08-13 09:01:56 -07:00
fn main() {
Reduce verbosity of some type ascription errors * Deduplicate type ascription LHS errors * Remove duplicated `:` -> `::` suggestion from parse error * Tweak wording to be more accurate * Modify `current_type_ascription` to reduce span wrangling * remove now unnecessary match arm * Add run-rustfix to appropriate tests
2020-07-09 13:49:55 -07:00
let _ = vec![X]; //…
Do not ICE when synthesizing spans falling inside unicode chars
2019-08-12 23:31:13 -07:00
//~^ ERROR expected value, found struct `X`
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 3063ms 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