Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
defining-use-uncaptured-non-universal-region-3.rs
blob: 00034fb9f447f2555093ee2258594686cf71073d [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
feature
(
adt_const_params
,
unsized_const_params
)]
#![
allow
(
incomplete_features
)]
trait
Bar
<
const
FOO
:
&
'
static
str
>
{}
impl
Bar
<
"asdf"
>
for
()
{}
fn
foo
<
const
FOO
:
&
'
static
str
>()
->
impl
Bar
<
"asdf"
>
{
()
}
fn
main
()
{}