mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00
14 lines
256 B
Rust
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,
|
|
>
|
|
{
|
|
}
|