]> git.lizzy.rs Git - rust.git/blob - src/test/ui/no-core-1.rs
Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup
[rust.git] / src / test / ui / no-core-1.rs
1 // run-pass
2
3 #![allow(stable_features)]
4 #![feature(no_core, core)]
5 #![no_core]
6
7 extern crate std;
8 extern crate core;
9
10 use std::option::Option::Some;
11
12 fn main() {
13     let a = Some("foo");
14     a.unwrap();
15 }