Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
feature-gates
/
feature-gate-proc_macro_c_str_literals.rs
blob: 5554c81392553a314647af237d835ff8dbafa4ba [
file
] [
log
] [
blame
]
// 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'
}