Skip to content

Commit c81780b

Browse files
committed
add regression test for rust-lang#60629
1 parent c441b8a commit c81780b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/test/incremental/issue-60629.rs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// revisions:rpass1 rpass2
2+
3+
struct A;
4+
5+
#[cfg(rpass2)]
6+
impl From<A> for () {
7+
fn from(_: A) {}
8+
}
9+
10+
fn main() {}

0 commit comments

Comments
 (0)