Sign in
fuchsia
/
third_party
/
rust
/
9f7b58f3c94708f344237f826b4f96a659b5fc82
/
.
/
src
/
test
/
ui
/
no-core-1.rs
blob: 9374f546ac90379d7fcca8b63d7e27ecacf07cc8 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
stable_features
)]
#![
feature
(
no_core
,
core
)]
#![
no_core
]
extern
crate std
;
extern
crate core
;
use
std
::
option
::
Option
::
Some
;
fn
main
()
{
let
a
=
Some
(
"foo"
);
a
.
unwrap
();
}