diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-09-13 16:56:18 +0200 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2022-10-20 22:44:10 +0000 |
| commit | 41263d2898121f46d7a6c35a3f106d3894299f4b (patch) | |
| tree | dbca9b8b27acbe08db48df2ca2f1ddb96d14f256 | |
| parent | 7f0224e8688126a536ba94c2bb8a17df565da2da (diff) | |
| download | rust-41263d2898121f46d7a6c35a3f106d3894299f4b.tar.gz rust-41263d2898121f46d7a6c35a3f106d3894299f4b.zip | |
Add UI regression test when querying visibility of generic parameter
| -rw-r--r-- | src/test/ui/query-visibility.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/query-visibility.rs b/src/test/ui/query-visibility.rs new file mode 100644 index 00000000000..09a289d85da --- /dev/null +++ b/src/test/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, +> {} |
