Steve Klabnik
7a86bfc5df
Shrink table in the reference
...
Fixes #20051
2015-03-09 16:51:21 -04:00
Steve Klabnik
a60089903a
Add note about pre/post increment to the design FAQ.
...
Fixes #14686
2015-03-09 16:49:19 -04:00
Steve Klabnik
bc927a69b2
Explain super in the crates guide.
...
Fixes #19808
2015-03-09 16:48:05 -04:00
Pascal Hertleif
c2fe7c4a03
Rustdoc: Add Headline Style for tymethod
...
Fixes #23230
2015-03-09 20:34:20 +01:00
Niko Matsakis
17358d1d21
Address nit by @flaper87
2015-03-09 14:39:31 -04:00
bors
638832e64c
Auto merge of #21824 - sfackler:should_panic, r=alexcrichton
2015-03-09 18:32:16 +00:00
Felix S. Klock II
5c3a0b191e
Add tests checking that a number of feature gates are gating their features.
...
Namely:
* `quote`
* `link_args`
* `link_llvm_intrinsics`
* `thread_local`
* `unsafe_destructor`
Also updates test for `plugin_registrar` to make it clear that
it is only testing the `plugin_registrar` feature gate.
Cc #22820 .
2015-03-09 19:18:43 +01:00
Steven Fackler
e2605b42c7
Rename #[should_fail] to #[should_panic]
2015-03-09 10:14:21 -07:00
bors
777f5d9599
Auto merge of #23219 - Manishearth:rollup, r=Manishearth
2015-03-09 16:02:29 +00:00
Manish Goregaokar
646830076a
fix rmake
2015-03-09 21:04:13 +05:30
Richo Healey
7981aa6ac9
doc: Fix extraneous as_slice()'s in docstrings
2015-03-09 07:54:19 -07:00
Richo Healey
061d84399e
remove uses of as_slice where deref coercions can be used
2015-03-09 07:54:19 -07:00
Felix S. Klock II
3dbf969103
For FRU, evaluate field expressions (into scratch temps) before base expression.
...
Fix #23112 .
2015-03-09 14:50:36 +01:00
bors
2574009af0
Auto merge of #23209 - richo:normalize-test-names, r=alexcrichton
...
Motivated by the test output not lining up when it could, I normalized all of the issue-* tests.
While doing it, I found some lexer tests that could be unignored and fixed an int -> isize.
2015-03-09 13:36:13 +00:00
Manish Goregaokar
f3c427ca5c
Rollup merge of #23203 - eLobato:patch-1, r=Manishearth
...
A minor change to avoid making the reader think 'where is this'.
2015-03-09 17:59:22 +05:30
Manish Goregaokar
894cd3961a
Rollup merge of #23202 - shepmaster:intro-threads-not-concurrent, r=steveklabnik
...
If we end the `scoped` call with a semicolon, the `JoinGuard` will be
dropped and not returned from the `map`. The thread will start up and
we immediately block, making for a very expensive sequential loop.
2015-03-09 17:59:21 +05:30
Manish Goregaokar
094b6bc831
Rollup merge of #23187 - steveklabnik:gh17481, r=Manishearth
...
Fixes #17481
2015-03-09 17:59:21 +05:30
Manish Goregaokar
4733190c35
Rollup merge of #23183 - steveklabnik:gh22572, r=Manishearth
...
They're opt-in now.
Fixes #22572
2015-03-09 17:59:20 +05:30
Manish Goregaokar
811c575b3c
Rollup merge of #23144 - FuGangqiang:doc_err, r=alexcrichton
...
in the [doc page](http://doc.rust-lang.org/std/num/index.html ), `FromStrRadix::from_str_radix` is not quoted.
2015-03-09 17:59:20 +05:30
Manish Goregaokar
bfcf53f7ad
Rollup merge of #23210 - richo:rust-o, r=alexcrichton
...
rustc will ICE if you specify an outfile path that is bare without a
directory. As a workaround, before this -o ./foo will work
It wasn't clear to me where I could put a test that actually invokes rustc from a shell, although I think I can add doctests to that machinery in librustc_driver that will arrange for this to be called with arguments that would trigger the ICE
2015-03-09 17:59:20 +05:30
Manish Goregaokar
43984618eb
Rollup merge of #23209 - richo:normalize-test-names, r=alexcrichton
...
Motivated by the test output not lining up when it could, I normalized all of the issue-* tests.
While doing it, I found some lexer tests that could be unignored and fixed an int -> isize.
2015-03-09 17:59:19 +05:30
bors
14ce607d9b
Auto merge of #23200 - Manishearth:rollup, r=Manishearth
2015-03-09 07:01:09 +00:00
Richo Healey
103636114d
normalize the current directory as Path{""}
2015-03-08 22:21:59 -07:00
Richo Healey
0487ad9119
Add a test for a bare outfile param to rustc
2015-03-08 22:21:59 -07:00
Richo Healey
8ac528bed1
rustc: Fix an ICE when -o bare-path
...
rustc will ICE if you specify an outfile path that is bare without a
directory. As a workaround, before this -o ./foo will work
2015-03-08 22:21:59 -07:00
Manish Goregaokar
3797827460
Fix doctest (fixup #23188 )
2015-03-09 10:16:34 +05:30
bors
36c3612f5c
Auto merge of #23043 - steveklabnik:doc_default_method, r=nikomatsakis
2015-03-09 04:35:44 +00:00
bors
91bdf23f50
Auto merge of #23153 - Manishearth:snap, r=alexcrichton
...
Needed so that #21824 can land
2015-03-09 00:17:49 +00:00
Richo Healey
58a288d323
test: Fix depcrecated alias for int
2015-03-08 17:10:32 -07:00
Richo Healey
5b7bfc88c6
test: Test the lexer now that #15879 is closed
2015-03-08 17:10:32 -07:00
bors
d71239f628
Auto merge of #23179 - steveklabnik:mini_rollup, r=steveklabnik
...
I had to fix up some PRs:
* https://github.com/rust-lang/rust/pull/22976
* https://github.com/rust-lang/rust/pull/22945
* https://github.com/rust-lang/rust/pull/22845
2015-03-08 21:51:59 +00:00
Daniel Lobato García
13d5e5712a
Link README to license & copyright files
...
A minor change to avoid making the reader think 'where is this'.
2015-03-08 23:37:23 +02:00
Jake Goulding
b426a242e3
Make concurrent examples actually run concurrently
...
If we end the `scoped` call with a semicolon, the `JoinGuard` will be
dropped and not returned from the `map`. The thread will start up and
we immediately block, making for a very expensive sequential loop.
2015-03-08 16:12:07 -04:00
Jake Goulding
a6ebd26208
Update example that uses deprecated Thread::scoped
2015-03-08 16:12:07 -04:00
Manish Goregaokar
684cd77222
Rollup merge of #23182 - steveklabnik:gh22610, r=Manishearth
...
Fixes #22610
2015-03-09 00:35:38 +05:30
Manish Goregaokar
9f851a734b
Rollup merge of #23190 - steveklabnik:fix_as_slice, r=alexcrichton
2015-03-09 00:13:33 +05:30
Manish Goregaokar
10960d3043
Rollup merge of #23188 - steveklabnik:gh18787, r=alexcrichton
...
Fixes #18787
2015-03-09 00:11:48 +05:30
Manish Goregaokar
b515b4e28a
Rollup merge of #23184 - steveklabnik:gh22553, r=alexcrichton
...
Fixes #22553
2015-03-09 00:10:06 +05:30
Manish Goregaokar
c7d5354567
Rollup merge of #23181 - steveklabnik:gh22637, r=alexcrichton
...
Fixes #22637
2015-03-09 00:09:56 +05:30
Manish Goregaokar
d1ac69ce72
Rollup merge of #23180 - steveklabnik:gh23052, r=alexcrichton
...
Fixes #23052
2015-03-09 00:08:03 +05:30
Manish Goregaokar
ea8434f7ee
Rollup merge of #23043 - steveklabnik:doc_default_method, r=nikomatsakis
2015-03-09 00:06:20 +05:30
Manish Goregaokar
1149b4d08d
Rollup merge of #22917 - randfur:master, r=steveklabnik
...
The docs currently define `array_expr`s as:
array_expr : '[' \"mut\" ? vec_elems? ']' ;
array_elems : [expr [',' expr]*] | [expr ',' \"..\" expr] ;
`vec_elems` is not defined anywhere else so it is probably a typo for `array_elems`.
2015-03-09 00:06:03 +05:30
Manish Goregaokar
f7c1fce144
Rollup merge of #23153 - Manishearth:snap, r=alexcrichton
...
Needed so that #21824 can land
2015-03-09 00:04:20 +05:30
Manish Goregaokar
0e0bb8a128
Rollup merge of #23179 - steveklabnik:mini_rollup, r=steveklabnik
...
I had to fix up some PRs:
* https://github.com/rust-lang/rust/pull/22976
* https://github.com/rust-lang/rust/pull/22945
* https://github.com/rust-lang/rust/pull/22845
2015-03-09 00:02:37 +05:30
Manish Goregaokar
509c6fc9c1
Rollup merge of #22984 - carols10cents:tests-for-float, r=huonw
...
Building on #22076 , I've added some tests for stable methods in f32 and f64 that didn't have any before.
Please let me know if there are any improvements I can make, and I am happy to make them! 📬
2015-03-09 00:02:28 +05:30
bors
b775541aaf
Auto merge of #22984 - carols10cents:tests-for-float, r=huonw
...
Building on #22076 , I've added some tests for stable methods in f32 and f64 that didn't have any before.
Please let me know if there are any improvements I can make, and I am happy to make them! 📬
2015-03-08 17:59:20 +00:00
Steve Klabnik
6c6c23f9df
Small fixes to example to be more idiomatic
2015-03-08 12:07:58 -04:00
Steve Klabnik
044b3bf2d7
Add examples of all three syntaxes in method syntax chapter of trpl
...
Fixes #18787
2015-03-08 10:49:13 -04:00
Steve Klabnik
1014b22b31
remove confusing language about casting types
...
Fixes #17481
2015-03-08 10:35:58 -04:00
Steve Klabnik
d65064da34
Move 'more strings' after ownership
...
Fixes #22553
2015-03-08 09:34:03 -04:00