Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6484420
the emscripten OS no longer exists on non-wasm targets
RalfJung Nov 24, 2024
f3ad32b
Added a doc test for std::path::strip_prefix
CromFr Nov 24, 2024
d26e29f
Tweak parameter mismatch explanation to not say unknown
compiler-errors Nov 25, 2024
4301d02
Remove dead code stemming from the old effects desugaring (II)
fmease Nov 25, 2024
bf7d909
remove "onur-ozkan" from users_on_vacation
onur-ozkan Nov 25, 2024
402bdd1
Update test expectations to accept LLVM 'initializes' attribute
zmodem Nov 25, 2024
9f1cfec
use ReadCache for archive loading
mustartt Nov 25, 2024
8bc8adb
std::thread: avoid leading whitespace in some panic messages
RalfJung Nov 25, 2024
b77d8fa
tests: Add recursive associated type bound regression tests
Enselic Nov 25, 2024
f62753f
compiletest: remove `pretty-expanded` directive and infra
jieyouxu Nov 25, 2024
95ff642
tests: remove `//@ pretty-expanded` usages
jieyouxu Nov 25, 2024
259020c
tests: Add regression test for recursive enum with Cow and Clone
Enselic Nov 25, 2024
3a42fd2
tests: disable `avr-rjmp-offset` on Windows for now
jieyouxu Nov 25, 2024
7dae9ac
add test for alias-bound shadowing, rename folder
lcnr Nov 26, 2024
620cdfc
Rollup merge of #133411 - RalfJung:emscripten-is-on-wasm, r=workingju…
GuillaumeGomez Nov 26, 2024
ddb6904
Rollup merge of #133419 - CromFr:add-path-strip_prefix-test-example, …
GuillaumeGomez Nov 26, 2024
af6e2a5
Rollup merge of #133430 - compiler-errors:param-mismatch, r=WaffleLapkin
GuillaumeGomez Nov 26, 2024
03f56d3
Rollup merge of #133443 - fmease:rm-dead-eff-code-ii, r=compiler-errors
GuillaumeGomez Nov 26, 2024
85394cb
Rollup merge of #133450 - onur-ozkan:update-triagebot, r=onur-ozkan
GuillaumeGomez Nov 26, 2024
64c0eff
Rollup merge of #133454 - zmodem:initializes_fix, r=nikic
GuillaumeGomez Nov 26, 2024
7e3422f
Rollup merge of #133462 - mustartt:aix-improve-bootstrap-loading, r=j…
GuillaumeGomez Nov 26, 2024
a06532e
Rollup merge of #133464 - RalfJung:whitespace-panic, r=joboet
GuillaumeGomez Nov 26, 2024
c8c225f
Rollup merge of #133467 - Enselic:recurse-tests, r=lcnr
GuillaumeGomez Nov 26, 2024
0d9a57d
Rollup merge of #133470 - jieyouxu:ugly, r=compiler-errors
GuillaumeGomez Nov 26, 2024
52fcafe
Rollup merge of #133473 - Enselic:cow, r=nnethercote
GuillaumeGomez Nov 26, 2024
5518c62
Rollup merge of #133481 - jieyouxu:avr-jmp-linker, r=saethlin
GuillaumeGomez Nov 26, 2024
0dba983
Rollup merge of #133495 - lcnr:env-shadowing-tests, r=compiler-errors
GuillaumeGomez Nov 26, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions library/std/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2504,6 +2504,7 @@ impl Path {
/// assert_eq!(path.strip_prefix("/test/haha/foo.txt/"), Ok(Path::new("")));
///
/// assert!(path.strip_prefix("test").is_err());
/// assert!(path.strip_prefix("/te").is_err());
/// assert!(path.strip_prefix("/haha").is_err());
///
/// let prefix = PathBuf::from("/test/");
Expand Down