MCPcopy Create free account

hub / github.com/JakkuSakura/FerroPhase / functions

Functions52,957 in github.com/JakkuSakura/FerroPhase

↓ 1 callersMethodtest2
(&mut self, i: usize)
tests/rust/ui/closures/2229_closure_analysis/run_pass/struct-pattern-matching-with-methods.rs:32
↓ 1 callersFunctiontest2_only_copy_types_move_closure
Same as test1 but using a move closure
tests/rust/ui/closures/2229_closure_analysis/migrations/no_migrations.rs:21
↓ 1 callersFunctiontest2_only_precise_paths_need_migration
String implements drop and therefore should be migrated. But in this test cases, `t2` is completely captured and when it is dropped won't be affected
tests/rust/ui/closures/2229_closure_analysis/migrations/significant_drop.rs:46
↓ 1 callersFunctiontest3
()
tests/rust/ui/abi/struct-enums/struct-return.rs:89
↓ 1 callersFunctiontest3
()
tests/rust/ui/binding/match-pipe-binding.rs:24
↓ 1 callersFunctiontest3
()
tests/rust/ui/suggestions/issue-102972.rs:18
↓ 1 callersFunctiontest3
()
tests/rust/ui/mir/mir_cast_fn_ret.rs:16
↓ 1 callersFunctiontest3
Should fake read the discriminant and throw an error
tests/rust/ui/closures/2229_closure_analysis/match/pattern-matching-should-fail.rs:25
↓ 1 callersFunctiontest3
()
tests/rust/ui/closures/2229_closure_analysis/run_pass/destructure_patterns.rs:33
↓ 1 callersFunctiontest3_only_by_value_need_migration
If a variable would've not been captured by value then it would've not been dropped with the closure and therefore doesn't need migration.
tests/rust/ui/closures/2229_closure_analysis/migrations/significant_drop.rs:69
↓ 1 callersFunctiontest3_only_copy_types_move_closure
Don't need to migrate if captured by ref
tests/rust/ui/closures/2229_closure_analysis/migrations/no_migrations.rs:32
↓ 1 callersFunctiontest4
()
tests/rust/ui/abi/struct-enums/struct-return.rs:105
↓ 1 callersFunctiontest4
()
tests/rust/ui/binding/match-pipe-binding.rs:34
↓ 1 callersFunctiontest4
()
tests/rust/ui/suggestions/issue-102972.rs:26
↓ 1 callersFunctiontest4
(x: fn(u64, u32) -> TupleLike)
tests/rust/ui/mir/mir_adt_construction.rs:73
↓ 1 callersFunctiontest4
Should fake read the discriminant and throw an error
tests/rust/ui/closures/2229_closure_analysis/match/pattern-matching-should-fail.rs:37
↓ 1 callersFunctiontest4
()
tests/rust/ui/closures/2229_closure_analysis/run_pass/destructure_patterns.rs:44
↓ 1 callersFunctiontest4_insignificant_drop_non_drop_aggregate
Test migration analysis in case of Insignificant Drop + Non Drop aggregates. Note in this test the closure captures a non Drop type and therefore the
tests/rust/ui/closures/2229_closure_analysis/migrations/no_migrations.rs:45
↓ 1 callersFunctiontest4_type_contains_drop_need_migration
The root variable might not implement drop themselves but some path starting at the root variable might implement Drop. If this path isn't captured w
tests/rust/ui/closures/2229_closure_analysis/migrations/significant_drop.rs:89
↓ 1 callersFunctiontest5
()
tests/rust/ui/binding/match-pipe-binding.rs:44
↓ 1 callersFunctiontest5
(x: fn(u32) -> Option<u32>)
tests/rust/ui/mir/mir_adt_construction.rs:78
↓ 1 callersFunctiontest5
()
tests/rust/ui/closures/2229_closure_analysis/match/pattern-matching-should-fail.rs:49
↓ 1 callersFunctiontest5
()
tests/rust/ui/closures/2229_closure_analysis/run_pass/destructure_patterns.rs:54
↓ 1 callersFunctiontest5_drop_non_drop_aggregate_need_migration
Test migration analysis in case of Drop + Non Drop aggregates. Note we need migration here only because the non-copy (because Drop type) is captured,
tests/rust/ui/closures/2229_closure_analysis/migrations/significant_drop.rs:107
↓ 1 callersFunctiontest5_significant_drop_non_drop_aggregate
Test migration analysis in case of Significant Drop + Non Drop aggregates. Note in this test the closure captures a non Drop type and therefore the va
tests/rust/ui/closures/2229_closure_analysis/migrations/no_migrations.rs:65
↓ 1 callersFunctiontest6
Should fake read the discriminant and throw an error
tests/rust/ui/closures/2229_closure_analysis/match/pattern-matching-should-fail.rs:65
↓ 1 callersFunctiontest6
()
tests/rust/ui/closures/2229_closure_analysis/run_pass/destructure_patterns.rs:63
↓ 1 callersFunctiontest6_significant_insignificant_drop_aggregate_need_migration
Test migration analysis in case of Significant and Insignificant Drop aggregates.
tests/rust/ui/closures/2229_closure_analysis/migrations/significant_drop.rs:123
↓ 1 callersFunctiontest7
()
tests/rust/ui/closures/2229_closure_analysis/run_pass/destructure_patterns.rs:72
↓ 1 callersFunctiontest7_move_closures_non_copy_types_might_need_migration
Since we are using a move closure here, both `t` and `t1` get moved even though they are being used by ref inside the closure.
tests/rust/ui/closures/2229_closure_analysis/migrations/significant_drop.rs:140
↓ 1 callersFunctiontest8
()
tests/rust/ui/closures/2229_closure_analysis/run_pass/destructure_patterns.rs:81
↓ 1 callersFunctiontest8_drop_order_and_blocks
()
tests/rust/ui/closures/2229_closure_analysis/migrations/significant_drop.rs:159
↓ 1 callersFunctiontest9
()
tests/rust/ui/closures/2229_closure_analysis/run_pass/destructure_patterns.rs:97
↓ 1 callersFunctiontest9_drop_order_and_nested_closures
()
tests/rust/ui/closures/2229_closure_analysis/migrations/significant_drop.rs:178
↓ 1 callersFunctiontest_0000_local_fully_init_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:95
↓ 1 callersFunctiontest_0001_local_fully_init_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:101
↓ 1 callersFunctiontest_0010_local_fully_reinit_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:107
↓ 1 callersFunctiontest_0011_local_fully_reinit_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:114
↓ 1 callersFunctiontest_0100_local_partial_init_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:121
↓ 1 callersFunctiontest_0101_local_partial_init_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:127
↓ 1 callersFunctiontest_0110_local_partial_reinit_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:133
↓ 1 callersFunctiontest_0111_local_partial_reinit_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:140
↓ 1 callersFunctiontest_0200_local_void_init_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:147
↓ 1 callersFunctiontest_0201_local_void_init_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:153
↓ 1 callersFunctiontest_1
Test 1: turn the triangle into a square (in terms of allocation; initialized portion remains a triangle) by realloc'ing each row from top to bottom, a
tests/rust/ui/allocator/alloc-shrink-oob-read.rs:122
↓ 1 callersFunctiontest_1000_field_fully_init_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:168
↓ 1 callersFunctiontest_1001_field_fully_init_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:174
↓ 1 callersFunctiontest_1010_field_fully_reinit_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:180
↓ 1 callersFunctiontest_1011_field_fully_reinit_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:187
↓ 1 callersFunctiontest_1100_field_partial_init_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:194
↓ 1 callersFunctiontest_1101_field_partial_init_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:200
↓ 1 callersFunctiontest_1110_field_partial_reinit_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:206
↓ 1 callersFunctiontest_1111_field_partial_reinit_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:213
↓ 1 callersFunctiontest_1200_field_void_init_and_use_struct
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:220
↓ 1 callersFunctiontest_1201_field_void_init_and_use_tuple
()
tests/rust/ui/nll/issue-21232-partial-init-and-use.rs:226
↓ 1 callersFunctiontest_1_should_capture
Should capture the discriminant since a variant of a multivariant enum is mentioned in the match arm; the discriminant is captured by the closure rega
tests/rust/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.rs:9
↓ 1 callersFunctiontest_2
Test 2: turn the square back into a triangle, top to bottom.
tests/rust/ui/allocator/alloc-shrink-oob-read.rs:139
↓ 1 callersFunctiontest_24189
()
tests/rust/ui/macros/macro-first-set.rs:186
↓ 1 callersFunctiontest_26444
()
tests/rust/ui/macros/macro-first-set.rs:28
↓ 1 callersFunctiontest_2_should_not_capture
Should not capture the discriminant since only a wildcard is mentioned in the match arm
tests/rust/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.rs:27
↓ 1 callersFunctiontest_3
Test 3: turn triangle into a square, bottom to top.
tests/rust/ui/allocator/alloc-shrink-oob-read.rs:156
↓ 1 callersFunctiontest_35650
()
tests/rust/ui/macros/macro-first-set.rs:77
↓ 1 callersFunctiontest_372
From issue #372
tests/rust/ui/fn/expr-fn.rs:45
↓ 1 callersFunctiontest_3_should_not_capture_single_variant
Should not capture the discriminant since the single variant mentioned in the match arm does not trigger a binding
tests/rust/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.rs:46
↓ 1 callersFunctiontest_4
Test 4: turn the square back into a triangle, bottom to top.
tests/rust/ui/allocator/alloc-shrink-oob-read.rs:173
↓ 1 callersFunctiontest_40569
()
tests/rust/ui/macros/macro-first-set.rs:14
↓ 1 callersFunctiontest_4_should_not_capture_array
Should not capture the discriminant since only wildcards are mentioned in the match arm
tests/rust/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.rs:79
↓ 1 callersFunctiontest_51477
()
tests/rust/ui/macros/macro-first-set.rs:219
↓ 1 callersFunctiontest_5_should_capture_multi_variant
Should capture the discriminant since a variant of the multi variant enum is mentioned in the match arm; the discriminant is captured by the closure r
tests/rust/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.rs:126
↓ 1 callersFunctiontest_62350
()
tests/rust/ui/abi/abi-sysv64-arg-passing.rs:305
↓ 1 callersFunctiontest_6_should_capture_single_variant
Should not capture the discriminant since the single variant mentioned in the match arm does not trigger a binding
tests/rust/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.rs:60
↓ 1 callersFunctiontest_7_should_capture_slice_len
Even though all patterns are wild, we need to read the discriminant in order to test the slice length
tests/rust/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.rs:144
↓ 1 callersFunctiontest_8_capture_slice_wild
Wild pattern that doesn't bind, so no capture
tests/rust/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.rs:185
↓ 1 callersFunctiontest_add_pt
()
tests/rust/ui/std/issue-3563-3.rs:160
↓ 1 callersFunctiontest_advanced
()
tests/rust/ui/proc-macro/quote/auxiliary/basic.rs:135
↓ 1 callersFunctiontest_alignment_affected
`String`, `u16` are not aligned at a one byte boundary and are thus affected by repr(packed). Here we test that the closure doesn't capture a referen
tests/rust/ui/closures/2229_closure_analysis/repr_packed.rs:39
↓ 1 callersFunctiontest_alignment_contains_all_fields
()
tests/rust/ui/layout/aggregate-lang/union-align.rs:19
↓ 1 callersFunctiontest_alignment_contains_all_fields
()
tests/rust/ui/layout/aggregate-lang/struct-align.rs:19
↓ 1 callersFunctiontest_alignment_not_affected
`u8` aligned at a byte and are unaffected by repr(packed). Therefore we *could* precisely (and safely) capture references to both the fields, but we d
tests/rust/ui/closures/2229_closure_analysis/repr_packed.rs:8
↓ 1 callersFunctiontest_alt
()
tests/rust/ui/fn/expr-fn.rs:20
↓ 1 callersFunctiontest_alt_as_alt_head
()
tests/rust/ui/binding/expr-match.rs:17
↓ 1 callersFunctiontest_alt_as_block_result
()
tests/rust/ui/binding/expr-match.rs:28
↓ 1 callersFunctiontest_append_tokens
()
tests/rust/ui/proc-macro/quote/auxiliary/basic.rs:418
↓ 1 callersFunctiontest_arc
()
tests/rust/ui/traits/trait-upcasting/struct.rs:130
↓ 1 callersFunctiontest_array
()
tests/rust/ui/proc-macro/quote/auxiliary/basic.rs:112
↓ 1 callersFunctiontest_as_arg
(n: Nums)
tests/rust/ui/consts/cast-discriminant-zst-enum.rs:16
↓ 1 callersFunctiontest_ascii_art_ctor
()
tests/rust/ui/std/issue-3563-3.rs:154
↓ 1 callersFunctiontest_assign
()
tests/rust/ui/codegen/assign-expr-unit-type.rs:10
↓ 1 callersFunctiontest_assign_op
()
tests/rust/ui/codegen/assign-expr-unit-type.rs:23
↓ 1 callersFunctiontest_autogenerated_unit_after_divergent_expr
()
tests/rust/ui/try-block/try-block-unreachable-code-lint.rs:29
↓ 1 callersFunctiontest_bar
(_: &B)
tests/rust/ui/associated-types/issue-24159.rs:16
↓ 1 callersFunctiontest_bar
()
tests/rust/ui/specialization/specialization-default-methods.rs:75
↓ 1 callersFunctiontest_bar
()
tests/rust/ui/specialization/cross-crate-defaults.rs:29
↓ 1 callersFunctiontest_bar
()
tests/rust/ui/suggestions/suggest-remove-deref.rs:18
↓ 1 callersFunctiontest_basic
()
tests/rust/ui/expr/block.rs:7
↓ 1 callersFunctiontest_basic
()
tests/rust/ui/binding/expr-match.rs:5
↓ 1 callersFunctiontest_big_vec
()
tests/rust/ui/array-slice-vec/vec-fixed-length.rs:7
↓ 1 callersFunctiontest_block
()
tests/rust/ui/fn/expr-fn.rs:30
↓ 1 callersFunctiontest_body
Inspect the instance body
tests/rust/ui-fulldeps/rustc_public/check_instance.rs:55
↓ 1 callersFunctiontest_bool
()
tests/rust/ui/expr/if-generic.rs:11
← previousnext →13,301–13,400 of 52,957, ranked by callers