]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/ambiguous-inherent-assoc-ty.rs
Update unsuspicious file list
[rustc.git] / src / test / rustdoc-ui / ambiguous-inherent-assoc-ty.rs
1 // check-pass
2 // This test ensures that rustdoc does not panic on inherented associated types
3 // that are referred to without fully-qualified syntax.
4
5 #![feature(inherent_associated_types)]
6 #![allow(incomplete_features)]
7
8 pub struct Struct;
9
10 impl Struct {
11 pub type AssocTy = usize;
12 pub const AssocConst: Self::AssocTy = 42;
13 }