- 06 11月, 2018 4 次提交
-
-
由 Petr Hosek 提交于
Fuchsia already uses lld as the default linker, so there's no reason to always invoke it through Clang, instead we can simply invoke lld directly and pass the set of flags that matches Clang.
-
由 Murarth 提交于
Manually calculate allocation layout for `Rc`/`Arc` to avoid undefined behavior
-
由 Felix S. Klock II 提交于
-
由 Simonas Kazlauskas 提交于
-
- 05 11月, 2018 27 次提交
-
-
由 Felix S. Klock II 提交于
-
由 jsirs 提交于
add call to tcx.sess.delay_span_bug before returning none to make sure error is presented to user
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
NLL has increased precision in its analysis of drop order, and we want the test annotations to deliberately reflect this by having fewer ERROR annotations for NLL than for AST-borrowck. The best way to get this effect is via `// revisions`. As a drive-by, also added uses of all the borrows just to make it clear that NLL isn't somehow sidestepping things by using shorter borrows than you might have otherwise expected. (Of course, the added uses do not make all that much difference since the relevant types all declare `impl Drop` and thus those drops have implicit uses anyway.)
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
This is a variant of `ui/borrowck/borrowck-closures-mut-of-imm.rs` that I used to help identify what changes I needed to make to the latter file in order to recover its instances of E0524 under NLL. (Basically this test includes the changes you'd need to make to `ui/borrowck/borrowck-closures-mut-of-imm.rs` in order to get rid of occurrences of E0596. And then I realized that one needs to add invocations of the closures in order to properly extend the mutable reborrows in a manner such that NLL will roughly match AST-borrowck.)
-
由 Felix S. Klock II 提交于
This is based on the feedback from estebank: """ I believe that test can be removed outright. It'd be impossible for a new change to go through that breaks this kind of output without it being picked up by multiple other `stderr` tests. This is an artifact of the transition period to the "new" output style. """ see: https://github.com/rust-lang/rust/issues/52663#issuecomment-422155551
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
This is not strictly necessary to make this test "more robust with respect to NLL"; its just an attempt to narrow the scope of the test and focus on its core.
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
Most of the time we want to robustify tests, but in this case this test is deliberately encoding artifacts of AST-borrowck. So instead of adding artificial uses that would obscure the aspects of AST-borrowck that are being tests, we instead use revisions and then mark the cases that apply to NLL as well as AST-borrowck.
-
由 jsirs 提交于
-
由 jsirs 提交于
-
由 jsirs 提交于
self.associated_item can return none, replace unwrap with '?' and bubble up None value instead of panicking
-
由 jsirs 提交于
Add test for incompleately implemented add trait, see issue #31076
-
由 Ralf Jung 提交于
-
由 Matthias Krüger 提交于
Fixes clippy toolstate. Changes: ```` rustup https://github.com/rust-lang/rust/pull/55665 (pass contexts by reference) Fix typo Improve clippy_dev help text RIIR update lints: Generate lint group registrations Test clippy_dev on CI and fix test RIIR update lints: Generate modules section ````
-
由 QuietMisdreavus 提交于
-
由 QuietMisdreavus 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 David Wood 提交于
In each of the three cases in this test, there is a mutable borrow of some field of the union and then a shared borrow of some other field immediately following. Under NLL, the mutable borrow is killed straight away as it isn't used later - therefore not causing a conflict with the shared borrow. This commit adds a use of the first mutable borrow to force the intended errors to appear under NLL.
-
由 David Wood 提交于
This commit adjusts the indentation of code within a documentation comment so that it is correctly highlighted as code by rustdoc.
-
- 04 11月, 2018 6 次提交
-
-
由 Guillaume Gomez 提交于
-
由 Hideki Sekine 提交于
-
由 varkor 提交于
Specifically no capitalisation or trailing full stops.
-
由 Matthias Krüger 提交于
Should fix clippy toolstat. Changes: ```` rustup https://github.com/rust-lang/rust/pull/55330/ Update stderr Rename test files Also lint cfg_attr(.., rustfmt::skip) Add tests from rustfmt::skip test file Run update_lints.py script Add test for non-crate-level inner attributes Differ between inner and outer attributes Add tests Add cfg_attr(rustfmt) lint Addressed comments. Fix dogfood error. Added lints `into_iter_on_ref` and `into_iter_on_array`. Fix #1565. Allow single_match_else Update stderr Add copyright statement© Fix typos Fix dogfood error Fix typo and indentation run update_lints script Add tests for unknwon_clippy_lints lint Add new lint: unknwon_clippy_lintsg clippy: fix pedantic warnings and run clippy::pedantic lints on the codebase. Fix a false-positive of needless_borrow UI test cleanup: Extract match_overlapping_arm tests UI test cleanup: Extract expect_fun_call tests Add missing code of conduct file Use slice patterns instead of padding Fix dogfood and pedantic lints ci: when installing rust-toolchain-installer-master, install it in debug mode to save some time in ci. RIIR update lints: Generate deprecated lints Replace big if/else expression with match ````
-
由 kennytm 提交于
This should allow the timings be more balanced.
-
由 kennytm 提交于
Fix the recent spurious 3 hour timeouts.
-
- 03 11月, 2018 3 次提交
-
-
Co-Authored-By: Nbjorn3 <bjorn3@users.noreply.github.com>
-
由 bjorn3 提交于
-
由 bjorn3 提交于
-