Skip to content

Rollup of 12 pull requests #137153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e1c6ead
move pattern migration setup/emitting to a separate module
dianne Feb 9, 2025
f1c287f
move pattern migration internals to the `migration` module
dianne Feb 9, 2025
7edd034
Use io::const_error! when possible over io::Error::new
thaliaarchi Feb 11, 2025
9e390b2
Fix &&str and trailing commas in io::const_error!
thaliaarchi Feb 11, 2025
1d7cf0f
Replace some u64 hashes with Hash64
saethlin Feb 15, 2025
84bdc5d
HIR analysis: Remove unnecessary abstraction over list of clauses
fmease Feb 15, 2025
0f220ef
Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
zachs18 Feb 16, 2025
95a5ecc
Enable relative-path-include-bytes on Windows
ChrisDenton Feb 16, 2025
2a8fbb5
Re-add missing empty lines in the releases notes
Urgau Feb 16, 2025
8a02724
Fix const items not being allowed to be called `r#move` or `r#static`
Noratrieb Feb 16, 2025
4a4207a
use add-core-stubs / minicore for a few more tests
RalfJung Feb 16, 2025
1c66d5b
Remove SSE ABI from i586-pc-windows-msvc
Noratrieb Feb 16, 2025
4cf2186
Move hashes from rustc_data_structure to rustc_hashes so they can be …
saethlin Feb 15, 2025
b023671
Add `pattern_complexity_limit` to `Limits`.
nnethercote Feb 6, 2025
30b8c84
Merge `get_limit` and `get_limit_size`.
nnethercote Feb 7, 2025
13280ee
Improve comments about limits.
nnethercote Feb 7, 2025
223c95f
Move `rustc_middle::limits` to `rustc_interface`.
nnethercote Feb 7, 2025
7a8c0fc
Rename `pattern_complexity` attr as `pattern_complexity_limit`.
nnethercote Feb 7, 2025
b660382
rustc_target: import TargetMetadata
ken-matsui Feb 13, 2025
5603b6f
Rollup merge of #136671 - nnethercote:middle-limits, r=Nadrieril
workingjubilee Feb 16, 2025
52db286
Rollup merge of #136817 - dianne:clean-and-comment-pat-migration, r=N…
workingjubilee Feb 16, 2025
5c8ccb2
Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton
workingjubilee Feb 16, 2025
b044822
Rollup merge of #136953 - ken-matsui:import-target-metadata, r=workin…
workingjubilee Feb 16, 2025
4ea69ec
Rollup merge of #137095 - saethlin:use-hash64-for-hashes, r=workingju…
workingjubilee Feb 16, 2025
692729b
Rollup merge of #137100 - fmease:hirtylow-rm-clauses-wrapper, r=compi…
workingjubilee Feb 16, 2025
a77709e
Rollup merge of #137105 - zachs18:cow-derefpure-restrict, r=Nadrieril
workingjubilee Feb 16, 2025
a392986
Rollup merge of #137120 - ChrisDenton:its-all-relative, r=GuillaumeGomez
workingjubilee Feb 16, 2025
72e63f6
Rollup merge of #137125 - Urgau:reapply-empty-lines-relnotes, r=Mark-…
workingjubilee Feb 16, 2025
98f4bcc
Rollup merge of #137140 - Noratrieb:const-move, r=jieyouxu,compiler-e…
workingjubilee Feb 16, 2025
2088d99
Rollup merge of #137145 - RalfJung:minicore, r=jieyouxu
workingjubilee Feb 16, 2025
759ccca
Rollup merge of #137149 - Noratrieb:wtf-is-this-target, r=RalfJung
workingjubilee Feb 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test $DIR/relative-path-include-bytes-132203.rs - (line 18) ... FAILED
failures:

---- $DIR/relative-path-include-bytes-132203.rs - (line 18) stdout ----
error: couldn't read `$DIR/relative-dir-empty-file`: No such file or directory (os error 2)
error: couldn't read `$DIR/relative-dir-empty-file`: $FILE_NOT_FOUND_MSG (os error 2)
--> $DIR/relative-path-include-bytes-132203.rs:19:9
|
LL | let x = include_bytes!("relative-dir-empty-file");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//@ ignore-windows different error message
//@ revisions: edition2015 edition2024
//@[edition2015]edition:2015
//@[edition2015]check-fail
Expand All @@ -7,8 +6,9 @@
//@[edition2024]edition:2024
//@[edition2024]check-pass
//@[edition2024]compile-flags:--test --test-args=--test-threads=1
//@ normalize-stdout: "tests/rustdoc-ui/doctest" -> "$$DIR"
//@ normalize-stdout: "tests.rustdoc-ui.doctest." -> "$$DIR/"
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
//@ normalize-stdout: "`: .* \(os error 2\)" -> "`: $$FILE_NOT_FOUND_MSG (os error 2)"

// https://github.com/rust-lang/rust/issues/132203
// This version, because it's edition2024, passes thanks to the new
Expand Down