2024-02-16 20:02:50 +00:00
|
|
|
//@ run-pass
|
2019-07-27 00:54:25 +03:00
|
|
|
|
2018-09-14 12:20:28 +02:00
|
|
|
#![allow(stable_features)]
|
2015-07-29 17:01:14 -07:00
|
|
|
#![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();
|
|
|
|
}
|