Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
generics
/
generic-tag-corruption.rs
blob: ae20a94d9fde6434cf800a974c713bc454587e6c [
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
());
}