]> git.lizzy.rs Git - rust.git/commitdiff
Added test for partially supplied type params in which remaining reference non-exista...
authorSean Bowe <ewillbefull@gmail.com>
Mon, 14 Sep 2015 03:43:24 +0000 (21:43 -0600)
committerSean Bowe <ewillbefull@gmail.com>
Mon, 14 Sep 2015 03:43:37 +0000 (21:43 -0600)
src/test/compile-fail/unspecified-self-in-trait-ref.rs

index 5ec9cf430f1d1eec1c821a7e00c26c72ce539ab4..2c2f113a7790c48d9a885794cb01bba763a5e834 100644 (file)
@@ -25,4 +25,6 @@ fn main() {
     //~^ ERROR no associated item named
     let d = Bar::<usize, _>::lol();
     //~^ ERROR no associated item named
+    let e = Bar::<usize>::lol();
+    //~^ ERROR must be explicitly specified
 }