blob: 9374f546ac90379d7fcca8b63d7e27ecacf07cc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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();
}
|