diff options
| author | bors <bors@rust-lang.org> | 2015-09-11 01:18:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-09-11 01:18:19 +0000 |
| commit | f6d64219a4ef8133e5946bf174e5951281b06430 (patch) | |
| tree | fea248af0360295d0fe918de24fd802bc65f9851 | |
| parent | 5c56887903bec6e1a638f8bdcfe2f22ec0fd000a (diff) | |
| parent | 254325cee0306e62735c0b69a9ff107b423ab544 (diff) | |
| download | rust-f6d64219a4ef8133e5946bf174e5951281b06430.tar.gz rust-f6d64219a4ef8133e5946bf174e5951281b06430.zip | |
Auto merge of #28337 - apasel422:tests, r=alexcrichton
Closes #17994.
| -rw-r--r-- | src/test/compile-fail/issue-17994.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/compile-fail/issue-17994.rs b/src/test/compile-fail/issue-17994.rs new file mode 100644 index 00000000000..fcbc08327b9 --- /dev/null +++ b/src/test/compile-fail/issue-17994.rs @@ -0,0 +1,13 @@ +// Copyright 2015 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +trait Tr {} +type Huh<T> where T: Tr = isize; //~ ERROR type parameter `T` is unused +fn main() {} |
