Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
4486c24db3ca1c698b34ea08bee15194774b53df
/
.
/
tests
/
ui
/
no-core-1.rs
blob: d6d2ba6044585d44b9c8c122cb3e5afbd91b6d74 [
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
();
}