blob: 43872e95a58549a64ed4ec5c71316e5910cb00ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//@no-rustfix: paths that don't exist yet
#![feature(rustc_private)]
extern crate rustc_span;
use rustc_span::Symbol;
fn main() {
// Not yet defined
let _ = Symbol::intern("xyz123");
//~^ interning_literals
let _ = Symbol::intern("with-dash");
//~^ interning_literals
let _ = Symbol::intern("with.dot");
//~^ interning_literals
}
|