Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 5eca329

Browse files
committed
Merge pull request #148 from bltavares/29595
29595
2 parents f91ceef + 1a39250 commit 5eca329

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/29595.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#![feature(associated_consts)]
2+
3+
trait Tr {
4+
const C: Self;
5+
}
6+
7+
fn main() {
8+
let a: u8 = Tr::C;
9+
}

0 commit comments

Comments
 (0)