Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
generics
/
generic-tag-corruption.rs
blob: 78fdfe4ac7f2ceb5ac1f657bc6220c8ef2f65061 [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
non_camel_case_types
)]
// This used to cause memory corruption in stage 0.
//@ pretty-expanded FIXME #23616
enum
thing
<
K
>
{
some
(#[
allow
(
dead_code
)]
K
),
}
pub
fn
main
()
{
let
_x
=
thing
::
some
(
"hi"
.
to_string
());
}