This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
58e901b6fd
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
(
)
{
}
Copy permalink