Skip to content
Permalink
Browse files

regression test.

  • Loading branch information...
pnkfelix committed Jul 8, 2019
1 parent 81cc482 commit 4c58b29285015f6d7739e342e09bf3be7eea3b12
@@ -0,0 +1,5 @@
// edition:2018
#![crate_type="lib"]
#![crate_name="xcrate_issue_61711_b"]
pub struct Struct;
pub use crate as alias;
@@ -0,0 +1,11 @@
// Issue 61711: A crate pub re-exporting `crate` was causing an
// infinite loop.

// edition:2018
// aux-build:xcrate-issue-61711-b.rs
// compile-flags:--extern xcrate_issue_61711_b

// run-pass

fn f<F: Fn(xcrate_issue_61711_b::Struct)>(_: F) { }
fn main() { }

0 comments on commit 4c58b29

Please sign in to comment.
You can’t perform that action at this time.