2025-07-01 18:24:12 +05:00
|
|
|
//! Tests correct parsing of doc comments on generic parameters in traits.
|
|
|
|
|
//! Checks that compiler doesn't panic when processing this.
|
|
|
|
|
|
2022-09-13 16:56:18 +02:00
|
|
|
//@ check-pass
|
|
|
|
|
|
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
|
|
|
|
|
|
pub trait Layer<
|
2025-07-01 18:24:12 +05:00
|
|
|
/// Documentation for generic parameter.
|
2022-09-13 16:56:18 +02:00
|
|
|
Input,
|
2025-07-01 18:24:12 +05:00
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
}
|