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
1bede1f5e0
rust
/
src
/
test
/
run-pass
/
infer-fn-tail-expr.rs
6 lines
55 B
Rust
Raw
Normal View
History
Unescape
Escape
Fix type inference of fn tail expressions. Closes #680
2011-07-12 18:27:22 -05:00
// issue #680
Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.
2012-06-29 18:26:56 -05:00
fn
f
(
)
->
~
[
int
]
{
~
[
]
}
Fix type inference of fn tail expressions. Closes #680
2011-07-12 18:27:22 -05:00
Change the ivec type syntax to [T]. This preserves the old syntax for now.
2011-07-18 10:41:35 -05:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink