Skip to content

Commit

Permalink
DST code causes an llvm assertion failure during compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Tavares committed Oct 24, 2015
1 parent 10e8088 commit 30b84bf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/19064.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
struct Foo(pub str);

impl Foo {
fn print(&self) {
match self {
&Foo(ref s) => println!("f\"{}\"", s),
}
}
}

fn main() {}

0 comments on commit 30b84bf

Please sign in to comment.