blob: 635f28007e9af0a19b13c0860acca456e3a906a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//@no-rustfix: paths that don't exist yet
#![feature(rustc_private)]
extern crate rustc_span;
use rustc_span::Symbol;
fn f(s: Symbol) {
s.as_str() == "xyz123";
//~^ symbol_as_str
s.as_str() == "with-dash";
//~^ symbol_as_str
s.as_str() == "with.dot";
//~^ symbol_as_str
}
|