]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-54387.rs
Rollup merge of #107004 - compiler-errors:new-solver-new-candidates-2, r=lcnr
[rust.git] / tests / 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 }