Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
pattern
/
usefulness
/
issue-119778-type-error-ice.rs
blob: 47333385bc16118fa2e126f0382a598ed80c2944 [
file
] [
log
] [
blame
]
fn
main
()
{}
fn
foo
()
{
#[
derive
(
Copy
,
Clone
)]
struct
Foo
([
u8
;
S
]);
//~^ ERROR cannot find value `S`
//~| ERROR cannot find value `S`
type
U
=
impl
Copy
;
//~^ ERROR `impl Trait` in type aliases is unstable
let
foo
:
U
=
Foo
(());
let
Foo
(())
=
foo
;
}