]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/issue-54387.rs
Rollup merge of #98609 - TaKO8Ki:fix-ice-for-associated-constant-generics, r=lcnr
[rust.git] / src / test / ui / consts / issue-54387.rs
1 // check-pass
2
3 pub struct GstRc {
4     _obj: *const (),
5     _borrowed: bool,
6 }
7
8 const FOO: Option<GstRc> = None;
9
10 fn main() {
11     let _meh = FOO;
12 }