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
07a63e6d1fabf3560e8e1e17c1d56b10a06152d9
rust/src/test/ui/parser/issue-6610.rs

4 lines
76 B
Rust
Raw Normal View History

Adjust the error messages to match the pattern "expected foo, found bar" Closes #8492
2014-08-23 12:41:32 +02:00
trait Foo { fn a() } //~ ERROR expected `;` or `{`, found `}`
Fix error message when trait method ends with wrong token When parsing a trait function, the function must end with either `;` or `{` (signifying a default implementation). The error message incorrectly stated that it must be `;` or `}`. Fixes #6610.
2013-08-15 17:58:56 -07:00
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 2446ms 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