mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
12 lines
229 B
Rust
12 lines
229 B
Rust
//@ edition: 2021
|
|
//@ force-host
|
|
#![crate_type = "proc-macro"]
|
|
|
|
extern crate proc_macro;
|
|
|
|
use proc_macro::Literal;
|
|
|
|
fn test() {
|
|
Literal::c_string(c"a"); //~ ERROR use of unstable library feature 'proc_macro_c_str_literals'
|
|
}
|