Skip to content

Rollup of 6 pull requests #117125

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 44 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
2bba98b
Avoid unnecessary renumbering
JonasAlaif Oct 16, 2023
eb31d7e
FileCheck asm_unwind
rmehri01 Oct 20, 2023
07bb2d5
FileCheck caller_with_trivial_bound
rmehri01 Oct 20, 2023
d9205cd
FileCheck cycle
rmehri01 Oct 20, 2023
820e791
FileCheck dont_ice_on_generic_rust_call
rmehri01 Oct 20, 2023
2e9a7c2
FileCheck dyn_trait
rmehri01 Oct 20, 2023
dfe047c
FileCheck exponential_runtime
rmehri01 Oct 20, 2023
8436a46
FileCheck inline_any_operand
rmehri01 Oct 20, 2023
359d2ab
FileCheck inline_box_fn
rmehri01 Oct 20, 2023
d67e934
FileCheck inline_closure_borrows_arg
rmehri01 Oct 20, 2023
b901553
FileCheck inline_closure_captures
rmehri01 Oct 20, 2023
149b882
FileCheck inline_closure
rmehri01 Oct 20, 2023
82a9ff0
FileCheck inline_compatibility
rmehri01 Oct 20, 2023
196c9ef
FileCheck inline_diverging
rmehri01 Oct 21, 2023
ac2278b
FileCheck inline_coroutine
rmehri01 Oct 21, 2023
1313866
FileCheck inline_instruction_set
rmehri01 Oct 21, 2023
6e01ab9
FileCheck inline_into_box_place
rmehri01 Oct 21, 2023
0764c8b
FileCheck inline_options
rmehri01 Oct 21, 2023
0a8a013
FileCheck inline_retag
rmehri01 Oct 21, 2023
af6b86e
FileCheck inline_specialization
rmehri01 Oct 21, 2023
ac19ff3
FileCheck inline_trait_method_2
rmehri01 Oct 21, 2023
6eedec5
FileCheck inline_trait_method
rmehri01 Oct 21, 2023
2846971
FileCheck inline_as_ref_as_mut
rmehri01 Oct 21, 2023
13fe05c
FileCheck inline_scopes_parenting
rmehri01 Oct 21, 2023
1950f29
FileCheck issue_78442
rmehri01 Oct 21, 2023
587926c
FileCheck unchecked_shifts
rmehri01 Oct 21, 2023
1fa2601
FileCheck unsized_argument
rmehri01 Oct 21, 2023
f474cf4
FileCheck unwrap_unchecked
rmehri01 Oct 21, 2023
1f35769
address review comments
rmehri01 Oct 22, 2023
66a554b
Add method to convert internal to stable constructs
celinval Oct 21, 2023
f613b26
Add `internal()` method counterpart to `stable()`
celinval Oct 23, 2023
421631a
Remove unsafe and `Rc`
celinval Oct 23, 2023
cb61816
compiler: Add target features for LoongArch
heiher Oct 19, 2023
6cf9423
tests: Add features-gate for LoongArch
heiher Oct 19, 2023
300d04d
tests/ui/abi/compatibility: Set min-llvm-version to 17 for LoongArch64
heiher Oct 24, 2023
ae86f59
Add test and remove double ref
celinval Oct 24, 2023
2b36547
Introduce `-C instrument-coverage=branch` to gate branch coverage
Swatinem Aug 21, 2023
68f5536
Migrate diagnostics in `rustc_hir_analysis/src/coherence/orphan.rs`
obeis Oct 3, 2023
35cdc1c
Rollup merge of #116094 - Swatinem:coverage-branch-gate, r=wesleywiser
matthiaskrgr Oct 24, 2023
65297e0
Rollup merge of #116396 - obeis:hir-analysis-migrate-diagnostics-7, r…
matthiaskrgr Oct 24, 2023
b090dc7
Rollup merge of #116792 - JonasAlaif:renumber-fix, r=b-naber
matthiaskrgr Oct 24, 2023
edba0cb
Rollup merge of #116943 - heiher:target-features, r=wesleywiser
matthiaskrgr Oct 24, 2023
d1723f6
Rollup merge of #117010 - celinval:smir-internal, r=oli-obk
matthiaskrgr Oct 24, 2023
b90e06e
Rollup merge of #117029 - rmehri01:mir_opt_filecheck_inline_tests, r=…
matthiaskrgr Oct 24, 2023
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
Prev Previous commit
Next Next commit
FileCheck inline_closure
rmehri01 committed Oct 21, 2023
commit 149b8822bd7e02cffd7064461288aae0543cc7ad
4 changes: 3 additions & 1 deletion tests/mir-opt/inline/inline_closure.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// skip-filecheck
// compile-flags: -Z span_free_formats

// Tests that MIR inliner can handle closure arguments. (#45894)
@@ -10,5 +9,8 @@ fn main() {
// EMIT_MIR inline_closure.foo.Inline.after.mir
fn foo<T: Copy>(_t: T, q: i32) -> i32 {
let x = |_t, _q| _t;

// CHECK-LABEL: fn foo(
// CHECK: (inlined foo::<T>::{closure#0})
x(q, q)
}