This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
a733082be9
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-24 21:39:28 -05: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 13:47:00 -06:00
}
tests: Do not use `-Z parse-only`, continue compilation to test recovery
2019-01-06 09:33:05 -06:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink