| /third_party/rust/rust/tests/ui/extern/ |
| D | extern-types-inherent-impl.rs | 12 type Local; typedef 15 impl Local { impl 19 fn use_foo(x: &Local, y: &CrossCrate) { in use_foo()
|
| /third_party/rust/rust/tests/ui/const-generics/defaults/ |
| D | external.rs | 6 struct Local<const N: usize=4>; struct 7 impl Local { impl 12 impl<const N: usize>Local<N> { implementation
|
| /third_party/rust/rust/src/tools/clippy/clippy_utils/src/mir/ |
| D | transitive_relation.rs | 11 pub fn add(&mut self, a: mir::Local, b: mir::Local) { in add() 15 pub fn reachable_from(&self, a: mir::Local, domain_size: usize) -> HybridBitSet<mir::Local> { in reachable_from()
|
| D | possible_borrower.rs | 27 possible_origin: FxHashMap<mir::Local, HybridBitSet<mir::Local>>, in new() 147 fn rvalue_locals(rvalue: &mir::Rvalue<'_>, mut visit: impl FnMut(mir::Local)) { in rvalue_locals() 194 …pub fn only_borrowers(&mut self, borrowers: &[mir::Local], borrowed: mir::Local, at: mir::Location… in only_borrowers() 202 below: &[mir::Local], in bounded_borrowers() 203 above: &[mir::Local], in bounded_borrowers() 204 borrowed: mir::Local, in bounded_borrowers() 235 pub fn local_is_alive_at(&mut self, local: mir::Local, at: mir::Location) -> bool { in local_is_alive_at()
|
| /third_party/rust/rust/tests/ui/coherence/ |
| D | impl[t]-foreign[fundamental[t]]-for-local.rs | 9 struct Local; struct 11 impl<T> Remote1<Box<T>> for Local {} implementation 13 impl<'a, T> Remote1<&'a T> for Local {} implementation
|
| D | impl[t]-foreign[local]-for-local.rs | 9 struct Local; struct 11 impl Remote1<Local> for Local {} implementation
|
| D | impl-foreign[foreign]-for-local.rs | 9 struct Local; struct 11 impl Remote1<u32> for Local { implementation
|
| D | impl-foreign-for-local.rs | 9 struct Local; struct 11 impl Remote for Local {} implementation
|
| D | impl-foreign-for-locally-defined-fundamental.rs | 11 struct Local<T>(T); struct 13 impl Remote for Local<()> {} implementation
|
| D | impl[t]-foreign[t]-for-local.rs | 9 struct Local; struct 11 impl<T> Remote1<T> for Local {} implementation
|
| D | coherence-blanket.rs | 10 pub trait Local { interface
|
| /third_party/rust/rust/tests/ui/associated-inherent-types/ |
| D | issue-109768.rs | 5 struct Local<T, U>(T, U); struct 7 impl<T> Local { //~ ERROR missing generics for struct `Local` impl
|
| /third_party/rust/rust/compiler/rustc_mir_transform/src/ |
| D | dest_prop.rs | 297 merges: &FxHashMap<Local, Local>, in apply_merges() argument 298 merged_locals: &BitSet<Local>, in apply_merges() 315 fn visit_local(&mut self, local: &mut Local, _: PlaceContext, _location: Location) { in visit_local() 373 src: Local, in vec_filter_candidates() 374 v: &mut Vec<Local>, in vec_filter_candidates() 389 mut entry: OccupiedEntry<'_, Local, Vec<Local>>, in entry_filter_candidates() argument 390 p: Local, in entry_filter_candidates() 404 p: Local, in filter_candidates_by() 705 ) -> Option<(Local, Local)> { in places_to_candidate_pair() argument 732 borrowed: &BitSet<Local>, in find_candidates() [all …]
|
| D | nrvo.rs | 87 fn local_eligible_for_nrvo(body: &mut mir::Body<'_>) -> Option<Local> { in local_eligible_for_nrvo() 124 ) -> Option<Local> { in find_local_assigned_to_return_place() 148 fn as_local_assigned_to_return_place(stmt: &mir::Statement<'_>) -> Option<Local> { in as_local_assigned_to_return_place() 203 fn visit_local(&mut self, l: &mut Local, ctxt: PlaceContext, _: Location) { in visit_local() 223 fn visit_local(&mut self, l: Local, ctxt: PlaceContext, _: Location) { in visit_local()
|
| /third_party/rust/rust/tests/rustdoc/ |
| D | issue-82465-asref-for-and-of-local.rs | 2 pub struct Local; struct 5 impl AsRef<str> for Local { implementation 13 fn as_ref(&self) -> &Local { in as_ref()
|
| /third_party/rust/rust/src/tools/clippy/clippy_lints/src/ |
| D | redundant_clone.rs | 264 ) -> Option<(def_id::DefId, mir::Local, Ty<'tcx>, mir::Local)> { in is_call_with_ref_arg() 287 to_local: mir::Local, in find_stmt_assigns_to() 290 ) -> Option<(mir::Local, CannotMoveOut)> { in find_stmt_assigns_to() 322 ) -> (mir::Local, CannotMoveOut) { in base_local_and_movability() 351 fn visit_clone_usage(cloned: mir::Local, clone: mir::Local, mir: &mir::Body<'_>, bb: mir::BasicBloc… in visit_clone_usage()
|
| /third_party/rust/rust/tests/rustdoc-json/reexport/ |
| D | synthesize_trait_with_docs.rs | 6 pub struct Local; struct 8 impl trait_with_docs::HasDocs for Local {} implementation
|
| /third_party/rust/rust/tests/rustdoc-json/intra-doc-links/ |
| D | foreign_variant.rs | 6 pub struct Local; struct 9 impl enum_variant_in_trait_method::Trait for Local {} implementation
|
| /third_party/rust/rust/tests/rustdoc-json/impls/ |
| D | local_for_primitive.rs | 2 pub trait Local {} trait
|
| D | local_for_local_primitive.rs | 6 pub trait Local {} trait
|
| /third_party/rust/rust/tests/ui/generic-associated-types/ |
| D | missing-item-sugg.rs | 5 struct Local; struct 6 impl missing_item_sugg::Foo for Local { implementation
|
| /third_party/rust/rust/compiler/rustc_borrowck/src/type_check/liveness/ |
| D | trace.rs | 45 relevant_live_locals: Vec<Local>, in trace() 46 boring_locals: Vec<Local>, in trace() 47 polonius_drop_used: Option<Vec<(Local, Location)>>, in trace() 140 fn compute_for_all_locals(&mut self, relevant_live_locals: Vec<Local>) { in compute_for_all_locals() 166 fn dropck_boring_locals(&mut self, boring_locals: Vec<Local>) { in dropck_boring_locals() 188 drop_used: Vec<(Local, Location)>, in add_extra_drop_facts() 189 relevant_live_locals: FxIndexSet<Local>, in add_extra_drop_facts() 213 fn add_defs_for(&mut self, local: Local) { in add_defs_for() 226 fn compute_use_live_points_for(&mut self, local: Local) { in compute_use_live_points_for() 280 fn compute_drop_live_points_for(&mut self, local: Local) { in compute_drop_live_points_for() [all …]
|
| D | polonius.rs | 28 fn insert_def(&mut self, local: Local, location: Location) { in insert_def() 33 fn insert_use(&mut self, local: Local, location: Location) { in insert_use() 38 fn insert_drop_use(&mut self, local: Local, location: Location) { in insert_drop_use() 57 fn visit_local(&mut self, local: Local, context: PlaceContext, location: Location) { in visit_local() 90 dropped_at: &mut Vec<(Local, Location)>, in populate_access_facts() 128 local: Local, in add_drop_of_var_derefs_origin()
|
| /third_party/rust/rust/tests/ui/impl-trait/in-trait/ |
| D | foreign.rs | 12 struct Local; struct 13 impl Foo for Local { implementation
|
| /third_party/rust/rust/tests/ui/rust-2018/uniform-paths/ |
| D | issue-55779.rs | 7 struct Local; struct 10 impl Trait for Local { implementation
|