mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 12:18:33 +00:00
10 lines
214 B
Rust
10 lines
214 B
Rust
![]() |
//@ edition:2018
|
||
|
|
||
|
#![feature(dyn_star, const_async_blocks)]
|
||
|
//~^ WARN the feature `dyn_star` is incomplete
|
||
|
|
||
|
static S: dyn* Send + Sync = async { 42 };
|
||
|
//~^ needs to have the same ABI as a pointer
|
||
|
|
||
|
pub fn main() {}
|