Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
test
/
ui
/
ret-none.rs
blob: d595506e336f643220a519e14eb4e843c339c9ea [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
non_camel_case_types
)]
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
enum
option
<
T
>
{
none
,
some
(
T
),
}
fn
f
<
T
>()
->
option
<
T
>
{
return
option
::
none
;
}
pub
fn
main
()
{
f
::<
isize
>();
}