This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
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
Unescape
Escape
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