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