mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00
15 lines
259 B
Rust
15 lines
259 B
Rust
//@ check-pass
|
|
//@ revisions: current next
|
|
//@[next] compile-flags: -Znext-solver
|
|
//@ ignore-compare-mode-next-solver (explicit revisions)
|
|
|
|
trait Trait {
|
|
fn foo() -> impl Sized + Send;
|
|
}
|
|
|
|
impl Trait for u32 {
|
|
fn foo() -> impl Sized {}
|
|
}
|
|
|
|
fn main() {}
|