This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-12-18 03:25:55 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5333f2a9d1
rust
/
tests
/
ui
/
bare-static-string.rs
7 lines
88 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
tests: Add missing run-pass annotations
2019-07-26 21:54:25 +00:00
check-fast fallout from removing export, r=burningtree
2013-02-02 03:43:17 +00:00
pub
fn
main
(
)
{
librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming
2013-03-14 18:22:51 +00:00
let
x
:
&
'static
str
=
"
foo
"
;
Remove re-exports of std::io::stdio::{print, println} in the prelude. The `print!` and `println!` macros are now the preferred method of printing, and so there is no reason to export the `stdio` functions in the prelude. The functions have also been replaced by their macro counterparts in the tutorial and other documentation so that newcomers don't get confused about what they should be using.
2014-01-09 10:06:55 +00:00
println!
(
"
{}
"
,
x
)
;
test: Add a test case for bare static strings
2012-08-03 18:51:47 +00:00
}
Reference in New Issue
Copy Permalink