- 28 5月, 2022 18 次提交
-
-
由 Yuki Okushi 提交于
-
由 bors 提交于
Add suggestion for relaxing static lifetime bounds on dyn trait impls in NLL This PR introduces suggestions for relaxing static lifetime bounds on impls of dyn trait items for NLL similar to what is already available in lexical region diagnostics. Fixes https://github.com/rust-lang/rust/issues/95701 r? `@estebank`
-
由 bors 提交于
Pass Context as a &mut to allow to remove RefCell fields Fixes #90323. r? `@notriddle`
-
由 bors 提交于
Rollup of 6 pull requests Successful merges: - #95214 (Remove impossible panic note from `Vec::append`) - #97411 (Print stderr consistently) - #97453 (rename `TyKind` to `RegionKind` in comment in rustc_middle) - #97457 (Add regression test for #81899) - #97458 (Modify `derive(Debug)` to use `Self` in struct literal to avoid redundant error) - #97462 (Add more eslint rules) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
-
由 Matthias Krüger 提交于
Add more eslint rules The last one is the most useful of this batch. :) Here are the links for the eslint rules: * [arrow-parens](https://eslint.org/docs/rules/arrow-parens) * [no-unused-vars](https://eslint.org/docs/rules/no-unused-vars) * [eqeqeq](https://eslint.org/docs/rules/eqeqeq) r? `@notriddle`
-
由 Matthias Krüger 提交于
Modify `derive(Debug)` to use `Self` in struct literal to avoid redundant error Reduce verbosity in #97343.
-
由 Matthias Krüger 提交于
Add regression test for #81899 Closes #81899 r? `@compiler-errors`
-
由 Matthias Krüger 提交于
rename `TyKind` to `RegionKind` in comment in rustc_middle
-
由 Matthias Krüger 提交于
Print stderr consistently Solves https://github.com/rust-lang/rust/issues/96712 I tried to follow what I perceived as the general consensus for error messages in boostrap i.e messages that were .. * resulting from an Err(...) => * literally called as "Error: ...." * by the end of the block scope forced to run a panic! or process::exit with a guaranteed non-zero error code.
-
由 Matthias Krüger 提交于
Remove impossible panic note from `Vec::append` Neither the number of elements in a vector can overflow a `usize`, nor can the amount of elements in two vectors.
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 bors 提交于
Update jemalloc to v5.3 Now that `jemalloc` version 5.3 has been released, this PR updates `tikv-jemalloc-sys` to the corresponding release. The crates.io publishing issue seems to have been resolved for the `jemalloc-sys` package, and version 5.3.0 is now also available under the historical name (and should become the preferred crate to be used). Therefore, this PR also switches back to using `jemalloc-sys` instead of `tikv-jemalloc-sys`.
-
由 Esteban Küber 提交于
#97343
-
由 Esteban Küber 提交于
-
由 Yuki Okushi 提交于
-
- 27 5月, 2022 22 次提交
-
-
由 lcnr 提交于
-
由 bors 提交于
Move various checks to typeck so them failing causes the typeck result to get tainted Fixes #69487 fixes #79047 cc `@RalfJung` this gets rid of the `Transmute` invalid program error variant
-
由 Oli Scherer 提交于
-
由 bors 提交于
Fix multiline attributes processing in doctest Fixes #97440. It seems like the call to `check_if_attr_is_complete` is not provided with the correct argument: the pending attribute should be passed, while the current line is actually being passed. This causes any attribute with more than 2 lines to fail and produces ICE when running through doctest.
-
由 Nicholas Nethercote 提交于
The part of it dealing with types obfuscates and makes the code less concise. This commit removes that part.
-
由 Nicholas Nethercote 提交于
-
由 Nicholas Nethercote 提交于
Because it's easy to confuse with `bridge`.
-
由 Nicholas Nethercote 提交于
There is some non-obvious information required to understand them.
-
由 Nicholas Nethercote 提交于
`reverse_encode` isn't necessary to please the borrow checker, it's to match the ordering done by `reverse_decode`.
-
由 Nicholas Nethercote 提交于
So it matches the existing `AttrProcMacro` and `BangProcMacro` types.
-
由 Nicholas Nethercote 提交于
Similar to the existing `AttrProcMacro` trait.
-
由 Nicholas Nethercote 提交于
This gives the more obvious derive/attr/bang distinction, and reduces code size slightly.
-
由 Nicholas Nethercote 提交于
`u8` is the only type that makes sense for `T`, as demonstrated by the fact that several impls and functions are hardwired to `Buffer<u8>`.
-
由 Nicholas Nethercote 提交于
-
由 Nicholas Nethercote 提交于
-
由 Nicholas Nethercote 提交于
-
由 Michael Goulet 提交于
Update `triagebot.toml` for macos ping group idk what i'm doing but i saw https://github.com/rust-lang/rust/pull/96392#issuecomment-1138893845 cc: `@thomcc`
-
由 Michael Goulet 提交于
rustdoc: Remove `ItemFragment(Kind)` And stop using `write!` when rendering URL fragments to avoid impossible errors.
-
由 Michael Goulet 提交于
Use rounding in float to Duration conversion methods Closes #96045
-
-