Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bd6fca2
Clarify `Command::new` behavior if passed programs with arguments
jieyouxu Apr 10, 2024
6445073
Add pub struct with allow(dead_code) into worklist
mu001999 Jun 12, 2024
523408e
Fix wording in {checked_}next_power_of_two
Kriskras99 Jun 13, 2024
10c7643
Small style improvement in `gvn.rs`
WaffleLapkin Jun 13, 2024
0cc099b
fix wrong assert_unsafe_precondition message for core::ptr::copy
firefighterduck Jun 13, 2024
d3812ac
LangItem-ify Coroutine trait in solvers
compiler-errors Jun 12, 2024
b79360a
Rework most of structural_traits to be Interner-agnostic
compiler-errors May 30, 2024
e82db89
Finish uplifting all of structural_traits
compiler-errors Jun 12, 2024
a2fb2eb
Fix some TODOs
compiler-errors Jun 12, 2024
c8e4206
Address nits
compiler-errors Jun 13, 2024
cc65413
compiletest: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
a5ef43e
build_helper: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
4a7c138
build-manifest: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
481dcb0
jsondoclint: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
c755df2
remote-test-server: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
5aa3fbc
remote-test-client: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
80d96df
lint-docs: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
a31b1b2
opt-dist: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
d12f1a7
tidy: apply considerable clippy suggestions
onur-ozkan Jun 6, 2024
c8d2b93
fix bootstrap CI failure
onur-ozkan Jun 6, 2024
a1667a9
Fix Miri sysroot for `x run`
Noratrieb Jun 10, 2024
b316033
rename CompileTimeInterpreter -> CompileTimeMachine, CompileTimeEvalC…
RalfJung Jun 13, 2024
54e24c1
const-eval: make lint scope computation consistent
RalfJung Jun 13, 2024
5de8e6e
Tweak output of import suggestions
estebank Jun 12, 2024
a685cdc
Rollup merge of #123726 - jieyouxu:command-new-docs, r=Nilstrieb
matthiaskrgr Jun 13, 2024
c22ee45
Rollup merge of #126088 - onur-ozkan:brooming, r=albertlarsan68
matthiaskrgr Jun 13, 2024
24c94f0
Rollup merge of #126238 - Nilstrieb:run,miri,run, r=RalfJung
matthiaskrgr Jun 13, 2024
977c5fd
Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkov
matthiaskrgr Jun 13, 2024
4dd8813
Rollup merge of #126360 - compiler-errors:uplift-structural-traits, r…
matthiaskrgr Jun 13, 2024
422da40
Rollup merge of #126371 - estebank:suggest-core, r=fmease
matthiaskrgr Jun 13, 2024
141d458
Rollup merge of #126388 - RalfJung:const-eval-lint-scope, r=oli-obk
matthiaskrgr Jun 13, 2024
5de5951
Rollup merge of #126390 - Kriskras99:master, r=Nilstrieb
matthiaskrgr Jun 13, 2024
424fe2c
Rollup merge of #126392 - WaffleLapkin:gvn-style-ish-changes, r=scottmcm
matthiaskrgr Jun 13, 2024
3494ea1
Rollup merge of #126402 - firefighterduck:fix-unsafe-precon-copy, r=N…
matthiaskrgr Jun 13, 2024
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
3 changes: 1 addition & 2 deletions compiler/rustc_mir_transform/src/gvn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
let is_sized = !self.feature_unsized_locals
|| self.local_decls[local].ty.is_sized(self.tcx, self.param_env);
if is_sized {
self.rev_locals.ensure_contains_elem(value, SmallVec::new);
self.rev_locals[value].push(local);
self.rev_locals.ensure_contains_elem(value, SmallVec::new).push(local);
}
}

Expand Down