Files
rust/tests/ui/parser/doc-comment-in-generic.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
256 B
Rust
Raw Normal View History

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.
//@ check-pass
#![crate_type = "lib"]
pub trait Layer<
2025-07-01 18:24:12 +05:00
/// Documentation for generic parameter.
Input,
2025-07-01 18:24:12 +05:00
>
{
}