/src/test/compile-fail/vector-no-ann.rs

http://github.com/jruderman/rust · Rust · 3 lines · 3 code · 0 blank · 0 comment · 0 complexity · e7afc48e25692f2b3e5125ce820eeb68 MD5 · raw file

  1. fn main() {
  2. let _foo = ~[]; //~ ERROR unconstrained type
  3. }