]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/crashes/ice-4545.rs
Rollup merge of #86263 - fee1-dead:rustdoc-layout-variants, r=camelid
[rust.git] / src / tools / clippy / tests / ui / crashes / ice-4545.rs
1 fn repro() {
2     trait Foo {
3         type Bar;
4     }
5
6     #[allow(dead_code)]
7     struct Baz<T: Foo> {
8         field: T::Bar,
9     }
10 }
11
12 fn main() {
13     repro();
14 }