Skip to content

Commit

Permalink
add regression test for rust-lang#60629
Browse files Browse the repository at this point in the history
  • Loading branch information
hellow554 committed May 10, 2019
1 parent c441b8a commit a918315
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/test/incremental/issue-60629.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// revisions:rpass1 rpass2

struct A;

#[cfg(rpass2)]
impl From<A> for () {
fn from(_: A) {}
}

fn main() {}

0 comments on commit a918315

Please sign in to comment.