]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/generator/issue-53548-1.rs
1 // A variant of #53548 that does not actually require generators,
2 // but which encountered the same ICE/error. See `issue-53548.rs`
7 use std
::cell
::RefCell
;
10 trait Trait
: '
static {}
13 inner
: Rc
<RefCell
<Option
<C
>>>,
17 let store
= Store
::<Box
<for<'a
> fn(&(dyn Trait
+ 'a
))>> {
18 inner
: Default
::default(),