diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-07-01 18:21:05 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-07-01 18:21:05 +0500 |
| commit | 986f1c9b692665d4e7388062b8d8536acb0c99fd (patch) | |
| tree | bf17e644733e240ea23598a6572afd52d2b2a7f0 /tests/ui/parser/doc-comment-in-generic.rs | |
| parent | f46ce66fcc3d6058f90ac5bf0930f940f1e7b0ca (diff) | |
| download | rust-986f1c9b692665d4e7388062b8d8536acb0c99fd.tar.gz rust-986f1c9b692665d4e7388062b8d8536acb0c99fd.zip | |
moved tests
Diffstat (limited to 'tests/ui/parser/doc-comment-in-generic.rs')
| -rw-r--r-- | tests/ui/parser/doc-comment-in-generic.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/parser/doc-comment-in-generic.rs b/tests/ui/parser/doc-comment-in-generic.rs new file mode 100644 index 00000000000..84abe875910 --- /dev/null +++ b/tests/ui/parser/doc-comment-in-generic.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, +> {} |
