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 c81780b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/incremental/issue-60629.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// revisions:rpass1 rpass2

struct A;

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

fn main() {}

0 comments on commit c81780b

Please sign in to comment.