diff options
| author | Sean Bowe <ewillbefull@gmail.com> | 2015-09-13 21:43:24 -0600 |
|---|---|---|
| committer | Sean Bowe <ewillbefull@gmail.com> | 2015-09-13 21:43:37 -0600 |
| commit | 3d0774f5989fc9425c5dc0ab5118fdcabba33555 (patch) | |
| tree | 50d0df9287c3b1a5655404a51624d95c95747c29 | |
| parent | af3a0b08055f9dac932264253040c3626a7052f6 (diff) | |
| download | rust-3d0774f5989fc9425c5dc0ab5118fdcabba33555.tar.gz rust-3d0774f5989fc9425c5dc0ab5118fdcabba33555.zip | |
Added test for partially supplied type params in which remaining reference non-existant self
| -rw-r--r-- | src/test/compile-fail/unspecified-self-in-trait-ref.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/compile-fail/unspecified-self-in-trait-ref.rs b/src/test/compile-fail/unspecified-self-in-trait-ref.rs index 5ec9cf430f1..2c2f113a779 100644 --- a/src/test/compile-fail/unspecified-self-in-trait-ref.rs +++ b/src/test/compile-fail/unspecified-self-in-trait-ref.rs @@ -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 } |
