]> git.lizzy.rs Git - rust.git/blob - src/test/ui/bare-static-string.rs
Rollup merge of #105983 - compiler-errors:issue-105981, r=tmiasko
[rust.git] / src / test / ui / bare-static-string.rs
1 // run-pass
2
3 pub fn main() {
4     let x: &'static str = "foo";
5     println!("{}", x);
6 }