2 // aux-build:opaque-hygiene.rs
3 // aux-build:def-site-async-await.rs
5 // Regression test for issue #77523
6 // Tests that we don't ICE when an unusual combination
7 // of def-site hygiene and cross-crate monomorphization occurs.
9 extern crate def_site_async_await;
11 use std::future::Future;
13 fn mk_ctxt() -> std::task::Context<'static> {
18 Box::pin(def_site_async_await::serve()).as_mut().poll(&mut mk_ctxt());