about summary refs log tree commit diff
path: root/tests/ui/privacy/unreachable-issue-121455.rs
blob: 5da30d6ed63978dc1a30aab97fd408447430e3bc (plain)
1
2
3
4
5
6
fn test(s: &Self::Id) {
//~^ ERROR failed to resolve: `Self` is only available in impls, traits, and type definitions
    match &s[0..3] {}
}

fn main() {}