about summary refs log tree commit diff
path: root/tests/ui/stability-attribute/accidental-stable-in-unstable.rs
blob: a36a78ee442ceffa7ae61e0e4eb5d8c382c2d5fb (plain)
1
2
3
4
5
6
7
8
9
10
11
#![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
//~^WARN deprecated