blob: 107380d33c70ac3a82b253fc09691dba57c9b22b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Regression test for #121607 and for part of issue #119924.
//@ check-pass
trait Trait {
fn provided() {
pub struct Type;
impl Type {
// This visibility qualifier used to get rejected.
pub fn perform() {}
}
}
}
fn main() {}
|