Skip to content

Commit 41263d2

Browse files
GuillaumeGomezlqd
authored andcommitted
Add UI regression test when querying visibility of generic parameter
1 parent 7f0224e commit 41263d2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/test/ui/query-visibility.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// check-pass
2+
// Check that it doesn't panic when `Input` gets its visibility checked.
3+
4+
#![crate_type = "lib"]
5+
6+
pub trait Layer<
7+
/// Hello.
8+
Input,
9+
> {}

0 commit comments

Comments
 (0)