diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-02-12 10:29:52 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-02-18 10:25:28 -0500 |
| commit | 872ce479550a3d805babb0ca409dfc3cf6f52309 (patch) | |
| tree | a1cf314833d1c99b297d59c30a2f1289f111e57e /src/test/pretty | |
| parent | ef42c2befd9451cd913de60539487a483ae9deac (diff) | |
| download | rust-872ce479550a3d805babb0ca409dfc3cf6f52309.tar.gz rust-872ce479550a3d805babb0ca409dfc3cf6f52309.zip | |
Fallout: tests. As tests frequently elide things, lots of changes
here. Some of this may have been poorly rebased, though I tried to be careful and preserve the spirit of the test.
Diffstat (limited to 'src/test/pretty')
| -rw-r--r-- | src/test/pretty/empty-impl.rs | 4 | ||||
| -rw-r--r-- | src/test/pretty/path-type-bounds.rs | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/test/pretty/empty-impl.rs b/src/test/pretty/empty-impl.rs index f22f1b40952..f5205de5c1f 100644 --- a/src/test/pretty/empty-impl.rs +++ b/src/test/pretty/empty-impl.rs @@ -8,8 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -trait X { } +trait X { fn dummy(&self) { } } impl X for uint { } -trait Y { } +trait Y { fn dummy(&self) { } } impl Y for uint { } diff --git a/src/test/pretty/path-type-bounds.rs b/src/test/pretty/path-type-bounds.rs index e27a3365a41..9e1f2aa8bfe 100644 --- a/src/test/pretty/path-type-bounds.rs +++ b/src/test/pretty/path-type-bounds.rs @@ -11,7 +11,9 @@ // pp-exact -trait Tr { } +trait Tr { + fn dummy(&self) { } +} impl Tr for int { } fn foo<'a>(x: Box<Tr+ Sync + 'a>) -> Box<Tr+ Sync + 'a> { x } |
