diff options
Diffstat (limited to 'src/test/rustdoc/issue-31808.rs')
-rw-r--r-- | src/test/rustdoc/issue-31808.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/rustdoc/issue-31808.rs b/src/test/rustdoc/issue-31808.rs deleted file mode 100644 index e55c5bd4f..000000000 --- a/src/test/rustdoc/issue-31808.rs +++ /dev/null @@ -1,11 +0,0 @@ -// Test that associated item impls on primitive types don't crash rustdoc - -pub trait Foo { - const BAR: usize; - type BAZ; -} - -impl Foo for () { - const BAR: usize = 0; - type BAZ = usize; -} |