Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
lint
/
non-local-defs
/
trait-solver-overflow-123573.rs
blob: 6e8014f10f85a2d00a129b73381aa5c7896b2848 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
//@ edition:2021
// https://github.com/rust-lang/rust/issues/123573#issue-2229428739
pub
trait
Test
{}
impl
<
'a, T: '
a
>
Test
for
&[
T
]
where
&
'
a T
:
Test
{}
fn
main
()
{
struct
Local
{}
impl
Test
for
&
Local
{}
}