Sign in
◑
Theme
rust
/
rust
/
c1f7fa1a48a060b980cb45ffde00a9b0cddac7c1
/
.
/
tests
/
ui
/
parser
/
doc-comment-in-generic.rs
blob: 2596496763bacbc64ab874d7901ba1e5e3b79be3 [
file
]
//! 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
,
>
{
}