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
2
Packages
Projects
Releases
Wiki
Activity
Files
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
rust
/
tests
/
ui
/
parser
/
omitted-arg-in-item-fn.rs
5 lines
82 B
Rust
Raw
Normal View
History
Unescape
Escape
parser: gracefully handle `fn foo(A | B: type)`.
2019-08-25 04:39:28 +02:00
fn
foo
(
x
)
{
//~ ERROR expected one of `:`, `@`, or `|`, found `)`
librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=implflipping
2013-02-14 11:47:00 -08:00
}
tests: Do not use `-Z parse-only`, continue compilation to test recovery
2019-01-06 18:33:05 +03:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink