Skip to content

Commit

Permalink
Fix some unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Sep 22, 2019
1 parent 31b3012 commit 3ee2920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/coherence/auxiliary/coherence_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ pub trait Remote {
}

pub trait Remote1<T> {
fn foo(&self, t: T) { }
fn foo(&self, _t: T) { }
}

pub trait Remote2<T, U> {
fn foo(&self, t: T, u: U) { }
fn foo(&self, _t: T, _u: U) { }
}

pub struct Pair<T,U>(T,U);

0 comments on commit 3ee2920

Please sign in to comment.