Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 872ce47

Browse files
committedFeb 18, 2015
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.
1 parent ef42c2b commit 872ce47

File tree

306 files changed

+915
-580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

306 files changed

+915
-580
lines changed
 

‎src/libcoretest/mem.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fn test_transmute_copy() {
9292

9393
#[test]
9494
fn test_transmute() {
95-
trait Foo {}
95+
trait Foo { fn dummy(&self) { } }
9696
impl Foo for int {}
9797

9898
let a = box 100 as Box<Foo>;

‎src/test/auxiliary/coherence-orphan-lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
pub trait TheTrait<T> {
11+
pub trait TheTrait<T> : ::std::marker::PhantomFn<T> {
1212
fn the_fn(&self);
1313
}
1414

0 commit comments

Comments
 (0)
Please sign in to comment.