diff options
Diffstat (limited to 'tests/ui/query-visibility.rs')
-rw-r--r-- | tests/ui/query-visibility.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/query-visibility.rs b/tests/ui/query-visibility.rs new file mode 100644 index 000000000..09a289d85 --- /dev/null +++ b/tests/ui/query-visibility.rs @@ -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, +> {} |