rust/tests/ui/parser/doc-comment-in-generic.rs
2025-07-05 00:45:24 +05:00

14 lines
256 B
Rust

//! Tests correct parsing of doc comments on generic parameters in traits.
//! Checks that compiler doesn't panic when processing this.
//@ check-pass
#![crate_type = "lib"]
pub trait Layer<
/// Documentation for generic parameter.
Input,
>
{
}