Skip to content

Commit

Permalink
ICE on implementing a trait with an extern "rust-call" function
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Tavares committed Oct 24, 2015
1 parent 10e8088 commit a223111
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/19397.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#![feature(unboxed_closures)]

trait Foo {
extern "rust-call" fn foo();
}

impl Foo for () {
extern "rust-call" fn foo() {}
}

fn main() {}

0 comments on commit a223111

Please sign in to comment.