diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-27 20:27:20 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-27 20:35:51 -0700 |
| commit | 35f295d2a9c9df56c10200b26df79b421ec5fcbf (patch) | |
| tree | 9e2fb896ccffe2d1fbcc9b62587a8d7ec149acde /src/test/auxiliary | |
| parent | ff25d62165cbd74e98c569aa74feedbb3ca181e3 (diff) | |
| download | rust-35f295d2a9c9df56c10200b26df79b421ec5fcbf.tar.gz rust-35f295d2a9c9df56c10200b26df79b421ec5fcbf.zip | |
test: Add tests for closed issues
Closes #5518 Closes #7320 Closes #8391 Closes #8827 Closes #8983 Closes #10683 Closes #10802 Closes #11515
Diffstat (limited to 'src/test/auxiliary')
| -rw-r--r-- | src/test/auxiliary/issue-5518.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/auxiliary/issue-5518.rs b/src/test/auxiliary/issue-5518.rs new file mode 100644 index 00000000000..cea227e050f --- /dev/null +++ b/src/test/auxiliary/issue-5518.rs @@ -0,0 +1,14 @@ +// Copyright 2012-2014 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<'a, T> { + fn f(&mut self) -> &'a mut T; + fn p() -> T; +} |
