]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-5192.rs
3 // pretty-expanded FIXME #23616
9 pub struct UvEventLoop
{
14 pub fn new() -> UvEventLoop
{
21 impl EventLoop
for UvEventLoop
{
24 pub struct Scheduler
{
25 event_loop
: Box
<dyn EventLoop
+'
static>,
30 pub fn new(event_loop
: Box
<dyn EventLoop
+'
static>) -> Scheduler
{
32 event_loop
: event_loop
,
38 let _sched
= Scheduler
::new(Box
::new(UvEventLoop
::new()) as Box
<dyn EventLoop
>);