- 03 11月, 2016 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 02 11月, 2016 15 次提交
-
-
由 bors 提交于
More refactoring to obey platform abstraction lint The most interesting things here are moving `std/sys/common` to `std/sys_common`, and `std/num/{f32,f64}.rs` to `std/{f32,f64}.rs`, and adding more documentation to `std/lib.rs`. r? @alexcrichton
-
由 bors 提交于
Add or and or_else for ordering. Fixes https://github.com/rust-lang/rust/issues/37053 (see discussion in rust-lang/rfcs#1677).
-
由 bors 提交于
Rollup of 7 pull requests - Successful merges: #36849, #37059, #37296, #37316, #37484, #37485, #37495 - Failed merges:
-
由 bors 提交于
Fix ICE when printing closures, and other similar types Follow-up of https://github.com/rust-lang/rust/pull/37459, further fixes those problems. Potentially actually fixes #36622, though @EddyB may want to not let that close if the rename of RUST_LOG is deemed part of that issue. Potentially should be beta-nominated as well? r? @EddyB
-
由 Brian Anderson 提交于
This makes it dissimilar to how core is structured on disk, but more predictable on its own.
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
Make the directory structure reflect the module structure. I've always found the existing structure confusing.
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
- 01 11月, 2016 15 次提交
-
-
由 Guillaume Gomez 提交于
Commented out final 'main' function in order to fit within pattern of… … other examples and prevent incorrect indentation
-
由 Guillaume Gomez 提交于
Don't mention "*" dependency version in guessing game example It's a bad practice as far [RFC 1241](https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md) is concerned, and introducing it in early tutorial may as well make it feel legitimate.
-
由 Guillaume Gomez 提交于
Update "Testing" chapter for 1.12 I followed the "Testing" chapter using Rust 1.12.1 but there are some differences. By default the `tests` module is now also generated by `cargo new`, and the console output is updated.
-
由 Guillaume Gomez 提交于
Fix a few links in the docs r? @steveklabnik
-
由 Guillaume Gomez 提交于
run rustfmt on librustc_driver folder
-
由 Guillaume Gomez 提交于
Remove TypeOrigin::RangeExpression This variant became unused in #30884.
-
由 Guillaume Gomez 提交于
str: Fix documentation typo from_utf8 returns a Result, not an Option. Signed-off-by: David Henningsson diwic@ubuntu.com
-
-
由 bors 提交于
add more incremental reuse test cases r? @michaelwoerister This is basically a port of the "private method in impl". It works better when it's a top-level fn. =)
-
由 bors 提交于
Add `unwrap_or_default` method to `Result` Fixes #37025
-
由 bors 提交于
Implement `RefUnwindSafe` for atomic types Closes #37136
-
由 bors 提交于
hashmap: Store hashes as usize internally We can't use more than usize's bits of a hash to select a bucket anyway, so we only need to store that part in the table. This should be an improvement for the size of the data structure on 32-bit platforms. Smaller data means better cache utilization and hopefully better performance. Fixes #36567
-
由 bors 提交于
Make all vec! macros use square brackets: Attempt 2 [The last PR](https://github.com/rust-lang/rust/pull/37476) ended with tears after a valiant struggle with git. I managed to clean up the completely broken history of that into a brand spanking new PR! Yay! Original: > Everyone hates the old syntax. I hope. Otherwise this PR has some controversy I wasn't expecting. > This would be the perfect time to write a lint recommending vec![..] when you use another style. > Disclaimer: I may have broken something. If I have, I'll fix them when the tests come in. Luckily the chance for a non-syntactical error is pretty low in all this.
-
由 iirelu 提交于
Most of the Rust community agrees that the vec! macro is clearer when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets. There is one left unchanged in a pretty-print test, as the pretty printer still wants it to have regular brackets.
-
由 bors 提交于
introing one-time diagnostics: only emit "lint level defined here" once This is a revised resubmission of PR #34084 (which was closed due to inactivity on account of time constraints on the author's part). --- We introduce a new `one_time_diagnostics` field on `rustc::session::Session` to hold a hashset of diagnostic messages we've set once but don't want to see again (as uniquified by span and message text), "lint level defined here" being the motivating example dealt with here. This is in the matter of #24690. --- r? @nikomatsakis
-
- 31 10月, 2016 9 次提交
-
-
由 bors 提交于
Rollup of 5 pull requests - Successful merges: #37438, #37458, #37462, #37475, #37486 - Failed merges:
-
由 Bunts Thy Unholy 提交于
-
由 Bunts Thy Unholy 提交于
Commented out final 'main' function in order to fit within pattern of other examples and prevent incorrect indentation
-
由 Guillaume Gomez 提交于
Fix typo in the BitAndAssign operator documentation The name of the operator should be `&=` instead of `&`.
-
由 Guillaume Gomez 提交于
Add E0532 error explanation This resolves one of the error list in https://github.com/rust-lang/rust/issues/35347 - just because I stumbled over it today. I assumed the error code should be removed from `register_diagnostics!` because it's now defined above. Since that is my first code contribution, please check that all is in order. It would be helpful to know how to run the test for the `compile_fail,E0532` part. I did `make check-stage1-cfail NO_REBUILD=1` but that doesn't test the inlined example. r? @GuillaumeGomez
-
由 Guillaume Gomez 提交于
Remove outdated fixme comment. Linked issue has been closed, but the comment was not removed. If this is still an issue, then the comment should probably be updated. r? @petrochenkov
-
由 Guillaume Gomez 提交于
Fix more spans in deriving::generic r? @petrochenkov
-
由 Guillaume Gomez 提交于
improve docs for Index and IndexMut This mainly changes the boring example of Foo/Bar of `IndexMut` into a better one. Also added explanations about syntactic sugar for `v[index]`. Closes #36329
-
由 bors 提交于
LLVM: Update submodule to rust-llvm-2016-10-29 branch. Fixes #37227
-