Add UI regression test when querying visibility of generic parameter
This commit is contained in:
parent
7f0224e868
commit
41263d2898
9
src/test/ui/query-visibility.rs
Normal file
9
src/test/ui/query-visibility.rs
Normal file
@ -0,0 +1,9 @@
|
||||
// check-pass
|
||||
// Check that it doesn't panic when `Input` gets its visibility checked.
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
pub trait Layer<
|
||||
/// Hello.
|
||||
Input,
|
||||
> {}
|
Loading…
x
Reference in New Issue
Block a user