Skip to content

Commit

Permalink
Add UI regression test when querying visibility of generic parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez authored and lqd committed Oct 20, 2022
1 parent 7f0224e commit 41263d2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/ui/query-visibility.rs
Original file line number Diff line number Diff line change
@@ -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,
> {}

0 comments on commit 41263d2

Please sign in to comment.