- 28 5月, 2022 6 次提交
-
-
由 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.
-
由 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`.
-
由 Yuki Okushi 提交于
-
- 27 5月, 2022 34 次提交
-
-
由 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
-
-
-
由 bors 提交于
libcore: Add `iter::from_generator` which is like `iter::from_fn`, but for coroutines instead of functions An equally useful little helper. I didn't follow any of the async-wg work, so I don't know why something like this wasn't added before.
-
由 Artyom Pavlov 提交于
-
由 Vadim Petrochenkov 提交于
libcore: Add `iter::from_generator` which is like `iter::from_fn`, but for coroutines instead of functions
-
由 hafeoz 提交于
-
由 hafeoz 提交于
-
由 bors 提交于
Optimize position adjustments A small improvement. r? `@bjorn3`
-
由 hafeoz 提交于
-
由 hafeoz 提交于
-
由 Michael Goulet 提交于
-
由 Matthias Krüger 提交于
clippy::complexity fixes clone_on_copy useless_format bind_instead_of_map filter_map_identity useless_conversion map_flatten unnecessary_unwrap
-