Patrick Walton
654d6444fe
libsyntax: Disallow struct literals after if
, while
, match
, and
...
`for...in`.
Closes #14803 .
If you used a structure literal after one of these keywords, surround it
in parentheses.
[breaking-change]
2014-06-23 15:39:29 -07:00
Richo Healey
1f1b2e42d7
std: Rename strbuf operations to string
...
[breaking-change]
2014-05-27 12:59:31 -07:00
Richo Healey
553074506e
core: rename strbuf::StrBuf to string::String
...
[breaking-change]
2014-05-24 21:48:10 -07:00
Patrick Walton
95e310abdc
test: Remove all uses of ~str
from the test suite.
2014-05-14 14:58:00 -07:00
Richo Healey
919889a1d6
Replace all ~"" with "".to_owned()
2014-04-18 17:25:34 -07:00
Derek Guenther
730bdb6403
Added tests to make tidy
2014-02-07 12:49:24 -06:00
Brendan Zabarauskas
4fc0452ace
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-11 10:46:00 +11:00
Daniel Micay
4e161a4d40
switch Drop to &mut self
2013-09-16 22:19:23 -04:00
Niko Matsakis
979d3a54f9
Correct merge failures
2013-07-08 13:55:11 -04:00
Niko Matsakis
1670a8cfb1
Add new tests for irrefutable patterns used in various tricky ways
2013-07-08 13:53:44 -04:00