diff options
| author | Corey Farwell <coreyf@rwell.org> | 2015-06-24 00:56:53 -0700 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2015-06-24 00:56:53 -0700 |
| commit | 425871bd90fda87dd99cbbebf159f665f252abf0 (patch) | |
| tree | 195fc9b66f2e99178752feffa9d57295be86f163 /src | |
| parent | eeeda89e557d1bbf927698f38fd2d4fc6b185d9c (diff) | |
| download | rust-425871bd90fda87dd99cbbebf159f665f252abf0.tar.gz rust-425871bd90fda87dd99cbbebf159f665f252abf0.zip | |
Add regression test for #22375
Closes #22375
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/issue-22375.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/run-pass/issue-22375.rs b/src/test/run-pass/issue-22375.rs new file mode 100644 index 00000000000..c6e941d844d --- /dev/null +++ b/src/test/run-pass/issue-22375.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 A<T: A<T>> {} + +fn main() {} |
