xref
: /
dports
/
lang
/
rust
/
rustc-1.58.1-src
/
src
/
test
/
ui
/
bare-static-string.rs
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
// run-pass
2
main()
3
pub
fn
main
() {
4
let
x
: &'
static
str
=
"foo"
;
5
println
!(
"{}"
,
x
);
6
}
7