diff options
Diffstat (limited to 'src/test/ui/associated-consts/associated-const-self-type.rs')
-rw-r--r-- | src/test/ui/associated-consts/associated-const-self-type.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/associated-consts/associated-const-self-type.rs b/src/test/ui/associated-consts/associated-const-self-type.rs deleted file mode 100644 index 36e1e4ecc..000000000 --- a/src/test/ui/associated-consts/associated-const-self-type.rs +++ /dev/null @@ -1,13 +0,0 @@ -// run-pass - -trait MyInt { - const ONE: Self; -} - -impl MyInt for i32 { - const ONE: i32 = 1; -} - -fn main() { - assert_eq!(1, <i32>::ONE); -} |