Skip to content

Commit

Permalink
Add 82325
Browse files Browse the repository at this point in the history
  • Loading branch information
fanninpm committed Feb 20, 2021
1 parent bbdebc0 commit c212aec
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ices/82325.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

rustc -Zunpretty=mir-cfg - <<'EOF'
#![feature(const_generics)]
#![feature(generic_associated_types)]
trait A {
type B<const N: usize>;
fn foo<const N: usize>(&self) -> Self::B<{N}>;
}
fn main() {}
EOF

0 comments on commit c212aec

Please sign in to comment.