- 28 1月, 2017 6 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
- 27 1月, 2017 4 次提交
-
-
由 Alex Crichton 提交于
We don't want these symbols exported from the standard library, this is just an internal implementation detail of the standard library currently. Closes #34984
-
由 Alex Crichton 提交于
This hides symbols from various unstable and implementation-detail crates of the standard library. Although typically transitive exported `pub extern` functions are exported from cdylibs, these crates aren't necessary as they're all implementation details. Closes #34493
-
由 Brian Anderson 提交于
These give so many incorrect suggestions that having them is detrimental to the user experience. The compiler should not be suggesting changes to the code that are wrong - it is infuriating: not only is the compiler telling you that _you don't understand_ borrowing, _the compiler itself_ appears to not understand borrowing. It does not inspire confidence.
-
由 Esteban Küber 提交于
Point to immutable borrow arguments and fields when trying to use them as mutable borrows. Add label to primary span on "cannot borrow as mutable" errors. Present the following output when trying to access an immutable borrow's field as mutable: ``` error[E0389]: cannot borrow data mutably in a `&` reference --> $DIR/issue-38147-1.rs:27:9 | 26 | fn f(&self) { | ----- use `&mut self` here to make mutable 27 | f.s.push('x'); | ^^^ assignment into an immutable reference ``` And the following when trying to access an immutable struct field as mutable: ``` error: cannot borrow immutable borrowed content `*self.s` as mutable --> $DIR/issue-38147-3.rs:17:9 | 12 | s: &'a String | ------------- use `&'a mut String` here to make mutable ...| 16 | fn f(&self) { | ----- use `&mut self` here to make mutable 17 | self.s.push('x'); | ^^^^^^ cannot borrow as mutable ```
-
- 26 1月, 2017 15 次提交
-
-
由 Vadim Petrochenkov 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
The current setup processes impl/trait items while visiting the impl/trait. This means we basically have this setup: <Lots> -> TypeckItemBody(Impl) -> Tables(ImplItem{0,1,2,3}) But this was largely an artifact of the older code. By moving the processing of items into method dedicated for their use, we produce this setup: <Little> -> TypeckItemBody(ImplItem0) -> Tables(ImplItem0) ... <Little> -> TypeckItemBody(ImplItem3) -> Tables(ImplItem3)
-
由 Stjepan Glavina 提交于
-
由 Stjepan Glavina 提交于
-
由 Stjepan Glavina 提交于
-
由 Steve Klabnik 提交于
Fixes #38524
-
- 25 1月, 2017 14 次提交
-
-
由 Nick Cameron 提交于
Catches generic types in paths
-
由 Nick Cameron 提交于
This is actually kinda hard to hit, but it fixes missing the `foo` in `for _ in foo {}`.
-
由 Ariel Ben-Yehuda 提交于
Fixes #36082.
-
由 Michael Woerister 提交于
-
由 Alex Crichton 提交于
This commit adds a new flag to the configure script, `--enable-extended`, which is intended for specifying a desire to compile the full suite of Rust tools such as Cargo, the RLS, etc. This is also an indication that the build system should create combined installers such as the pkg/exe/msi artifacts. Currently the `--enable-extended` flag just indicates that combined installers should be built, and Cargo is itself not compiled just yet but rather only downloaded from its location. The intention here is to quickly get to feature parity with the current release process and then we can start improving it afterwards. All new files in this PR inside `src/etc/installer` are copied from the rust-packaging repository.
-
由 Vadim Petrochenkov 提交于
-
由 est31 提交于
* Remove the Reflect trait * Remove the "reflect" lang feature
-
由 Raphael Das Gupta 提交于
rather than "test function", which would be `it_works`
-
由 Theodore DeRego 提交于
Updated Fuchsia support for std::process. Adds support for try_wait. Misc. updates to reflect changes in Magenta
-
由 Guillaume Gomez 提交于
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
- 24 1月, 2017 1 次提交
-
-
由 king6cong 提交于
-