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
8d381823e2
rust
/
src
/
test
/
run-pass
/
vector-no-ann-2.rs
6 lines
66 B
Rust
Raw
Normal View
History
Unescape
Escape
test: xfail vector-no-ann-2 in stage0
2011-05-24 21:08:08 -05:00
// xfail-stage0
Typecheck @[] correctly Previously, if you wrote let @vec[int] foo = @[]; that would be a type error. That didn't seem right, so I changed pushdown to unify the inner type in an unop application with the argument type of the operator type.
2011-05-23 19:17:49 -05:00
fn
main
(
)
->
(
)
{
let
@
vec
[
uint
]
quux
=
@
[
]
;
}
Reference in New Issue
Copy Permalink