mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-01 02:38:33 +00:00
8 lines
219 B
Rust
8 lines
219 B
Rust
//@ compile-flags: -Znext-solver
|
|
#![recursion_limit = "8"]
|
|
|
|
fn main() {
|
|
let _: Box<dyn Send> = Box::new(&&&&&&&1);
|
|
//~^ ERROR overflow evaluating the requirement `Box<&&&&&&&i32>: CoerceUnsized<Box<dyn Send>>
|
|
}
|