summaryrefslogtreecommitdiffstats
path: root/src/test/ui/stability-attribute/accidental-stable-in-unstable.rs
blob: f8bbe90cfc53b21ec3e943b1ef049e03e59cde90 (plain)
1
2
3
4
5
6
7
8
9
10
#![crate_type = "lib"]
extern crate core;

// Known accidental stabilizations with no known users, slated for un-stabilization
// fully stable @ core::char::UNICODE_VERSION
use core::unicode::UNICODE_VERSION; //~ ERROR use of unstable library feature 'unicode_internals'

// Known accidental stabilizations with known users
// fully stable @ core::mem::transmute
use core::intrinsics::transmute; // depended upon by rand_core