rust/tests/ui/issues/auxiliary/iss.rs
2023-01-11 09:32:08 +00:00

13 lines
176 B
Rust

#![crate_name="issue6919_3"]
// part of issue-6919.rs
pub struct C<K> where K: FnOnce() {
pub k: K,
}
fn no_op() { }
pub const D : C<fn()> = C {
k: no_op as fn()
};