| /third_party/rust/crates/syn/src/gen/ |
| D | visit_mut.rs | 931 V: VisitMut + ?Sized, in visit_abi_mut() 945 V: VisitMut + ?Sized, in visit_angle_bracketed_generic_arguments_mut() 959 V: VisitMut + ?Sized, in visit_arm_mut() 977 V: VisitMut + ?Sized, in visit_assoc_const_mut() 990 V: VisitMut + ?Sized, in visit_assoc_type_mut() 1003 V: VisitMut + ?Sized, in visit_attr_style_mut() 1016 V: VisitMut + ?Sized, in visit_attribute_mut() 1027 V: VisitMut + ?Sized, in visit_bare_fn_arg_mut() 1040 pub fn visit_bare_variadic_mut<V>(v: &mut V, node: &mut BareVariadic) in visit_bare_variadic_mut() 1058 V: VisitMut + ?Sized, in visit_bin_op_mut() [all …]
|
| D | fold.rs | 934 F: Fold + ?Sized, in fold_abi() 946 ) -> AngleBracketedGenericArguments in fold_angle_bracketed_generic_arguments() 961 F: Fold + ?Sized, in fold_arm() 974 pub fn fold_assoc_const<F>(f: &mut F, node: AssocConst) -> AssocConst in fold_assoc_const() 987 pub fn fold_assoc_type<F>(f: &mut F, node: AssocType) -> AssocType in fold_assoc_type() 1000 pub fn fold_attr_style<F>(f: &mut F, node: AttrStyle) -> AttrStyle in fold_attr_style() 1011 pub fn fold_attribute<F>(f: &mut F, node: Attribute) -> Attribute in fold_attribute() 1024 pub fn fold_bare_fn_arg<F>(f: &mut F, node: BareFnArg) -> BareFnArg in fold_bare_fn_arg() 1036 pub fn fold_bare_variadic<F>(f: &mut F, node: BareVariadic) -> BareVariadic in fold_bare_variadic() 1049 pub fn fold_bin_op<F>(f: &mut F, node: BinOp) -> BinOp in fold_bin_op() [all …]
|
| D | visit.rs | 930 V: Visit<'ast> + ?Sized, in visit_abi() 944 V: Visit<'ast> + ?Sized, in visit_angle_bracketed_generic_arguments() 958 V: Visit<'ast> + ?Sized, in visit_arm() 976 V: Visit<'ast> + ?Sized, in visit_assoc_const() 989 V: Visit<'ast> + ?Sized, in visit_assoc_type() 1002 V: Visit<'ast> + ?Sized, in visit_attr_style() 1015 V: Visit<'ast> + ?Sized, in visit_attribute() 1026 V: Visit<'ast> + ?Sized, in visit_bare_fn_arg() 1041 V: Visit<'ast> + ?Sized, in visit_bare_variadic() 1057 V: Visit<'ast> + ?Sized, in visit_bin_op() [all …]
|
| /third_party/rust/rust/tests/ui/derives/ |
| D | derive-Debug-use-ufcs-struct.rs | 9 fn field(&self, _: impl Sized, _: impl Sized) { in field() 17 fn debug_struct(&self, _: impl Sized, _: impl Sized) { in debug_struct() 24 fn field(&mut self, _: impl Sized, _: impl Sized) { in field() 32 fn debug_struct(&mut self, _: impl Sized, _: impl Sized) { in debug_struct()
|
| /third_party/rust/rust/library/core/src/iter/traits/ |
| D | iterator.rs | 150 Self: Sized, 264 Self: Sized, in count() 293 fn last(self) -> Option<Self::Item> in last() 447 fn step_by(self, step: usize) -> StepBy<Self> in step_by() 521 Self: Sized, in chain() 640 Self: Sized, in zip() 681 fn intersperse(self, separator: Self::Item) -> Intersperse<Self> in intersperse() 742 Self: Sized, in intersperse_with() 802 Self: Sized, in map() 848 Self: Sized, in for_each() [all …]
|
| /third_party/rust/rust/tests/rustdoc-gui/src/lib2/ |
| D | lib.rs | 199 Self: Sized; in count() 200 fn last(self) -> Option<Self::Item> in last() 205 fn step_by(self, step: usize) -> StepBy<Self> in step_by() 210 Self: Sized, in chain() 214 Self: Sized, in zip() 216 fn intersperse(self, separator: Self::Item) -> Intersperse<Self> in intersperse() 222 Self: Sized, in intersperse_with() 226 Self: Sized, in map() 230 Self: Sized, in for_each() 234 Self: Sized, in filter() [all …]
|
| /third_party/rust/rust/tests/ui/unsized/ |
| D | unsized-struct.rs | 1 fn is_sized<T:Sized>() { } in is_sized() 2 fn not_sized<T: ?Sized>() { } in not_sized() 6 fn foo2<T: ?Sized>() { not_sized::<Foo<T>>() } in foo2() 12 fn bar1<T: ?Sized>() { not_sized::<Bar<T>>() } in bar1() 13 fn bar2<T: ?Sized>() { is_sized::<Bar<T>>() } in bar2()
|
| D | unsized-enum.rs | 1 fn is_sized<T:Sized>() { } in is_sized() 2 fn not_sized<T: ?Sized>() { } in not_sized() 6 fn foo2<T: ?Sized>() { not_sized::<Foo<T>>() } in foo2()
|
| /third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
| D | objc_method.rs | 25 <Self as std::ops::Deref>::Target: objc::Message + Sized, in method() 31 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodWithInt_() 37 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodWithFoo_() 43 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodReturningInt() 49 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodReturningFoo() 60 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodWithArg1_andArg2_andArg3_() 72 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodWithAndWithoutKeywords_arg2Name__arg4Name_()
|
| /third_party/rust/rust/tests/ui/closures/ |
| D | closure-return-type-must-be-sized.rs | 14 pub fn bar<F: FnOnce() -> R, R: ?Sized>() {} in bar() argument 16 pub fn baz<F: FnOnce<()>>() where F::Output: A, F::Output: Sized { in baz() 28 pub fn bar<F: Fn() -> R, R: ?Sized>() {} in bar() argument 30 pub fn baz<F: Fn<()>>() where F::Output: A, F::Output: Sized { in baz() 42 pub fn bar<F: FnMut() -> R, R: ?Sized>() {} in bar() argument 44 pub fn baz<F: FnMut<()>>() where F::Output: A, F::Output: Sized { in baz()
|
| /third_party/rust/rust/library/core/src/ptr/ |
| D | mut_ptr.rs | 93 pub const fn with_metadata_of<U>(self, meta: *const U) -> *mut U in with_metadata_of() 148 T: Sized, in to_bits() 176 pub fn from_bits(bits: usize) -> Self in from_bits() 409 pub const unsafe fn as_uninit_ref<'a>(self) -> Option<&'a MaybeUninit<T>> in as_uninit_ref() 472 pub const unsafe fn offset(self, count: isize) -> *mut T in offset() 553 pub const fn wrapping_offset(self, count: isize) -> *mut T in wrapping_offset() 714 pub const unsafe fn as_uninit_mut<'a>(self) -> Option<&'a mut MaybeUninit<T>> in as_uninit_mut() 743 pub const fn guaranteed_eq(self, other: *mut T) -> Option<bool> in guaranteed_eq() 770 pub const fn guaranteed_ne(self, other: *mut T) -> Option<bool> in guaranteed_ne() 862 pub const unsafe fn offset_from(self, origin: *const T) -> isize in offset_from() [all …]
|
| D | const_ptr.rs | 94 pub const fn with_metadata_of<U>(self, meta: *const U) -> *const U in with_metadata_of() 143 T: Sized, in to_bits() 171 pub fn from_bits(bits: usize) -> Self in from_bits() 398 pub const unsafe fn as_uninit_ref<'a>(self) -> Option<&'a MaybeUninit<T>> in as_uninit_ref() 461 pub const unsafe fn offset(self, count: isize) -> *const T in offset() 541 pub const fn wrapping_offset(self, count: isize) -> *const T in wrapping_offset() 690 pub const unsafe fn offset_from(self, origin: *const T) -> isize in offset_from() 782 pub const unsafe fn sub_ptr(self, origin: *const T) -> usize in sub_ptr() 822 pub const fn guaranteed_eq(self, other: *const T) -> Option<bool> in guaranteed_eq() 852 pub const fn guaranteed_ne(self, other: *const T) -> Option<bool> in guaranteed_ne() [all …]
|
| /third_party/rust/rust/tests/ui/const-generics/generic_const_exprs/ |
| D | nested-abstract-consts-1.rs | 5 fn callee<const M2: usize>() -> usize in callee() 12 fn caller<const N1: usize>() -> usize in caller() 15 [u8; (N1 + 1) + 1]: Sized,
|
| /third_party/rust/rust/tests/ui/coherence/ |
| D | coherence-impls-sized.rs | 20 impl Sized for (MyType, MyType) {} impl 24 impl Sized for &'static NotSync {} impl 27 impl Sized for [MyType] {} impl 31 impl Sized for &'static [NotSync] {} impl
|
| /third_party/rust/rust/tests/ui/suggestions/ |
| D | removal-of-multiline-trait-bound-in-where-clause.rs | 3 fn foo<T>(foo: Wrapper<T>) in foo() 14 fn bar<T>(foo: Wrapper<T>) in bar() 21 fn qux<T>(foo: Wrapper<T>) in qux()
|
| /third_party/rust/rust/tests/ui/impl-trait/in-trait/ |
| D | dont-project-to-rpitit-with-no-value.rs | 7 fn foo(&self) -> impl Sized; in foo() 8 fn bar(&self) -> impl Sized; in bar() 13 fn bar(&self) -> impl Sized { in bar()
|
| /third_party/rust/rust/tests/ui/invalid-compile-flags/ |
| D | branch-protection-missing-pac-ret.rs | 14 trait Sized { } interface
|
| /third_party/rust/rust/tests/codegen/ |
| D | tied-features-strength.rs | 27 trait Sized {} trait
|
| D | no-jump-tables.rs | 14 trait Sized {} interface
|
| D | default-requires-uwtable.rs | 13 trait Sized {} interface
|
| D | stack-probes-call.rs | 18 trait Sized {} trait
|
| D | branch-protection.rs | 16 trait Sized { } trait
|
| /third_party/rust/rust/tests/ui/target-feature/ |
| D | tied-features-cli.rs | 18 trait Sized {} interface
|
| /third_party/rust/rust/tests/ui/cmse-nonsecure/cmse-nonsecure-call/ |
| D | wrong-abi-location-2.rs | 6 trait Sized { } trait
|
| /third_party/rust/rust/tests/assembly/ |
| D | aarch64-pointer-auth.rs | 14 trait Sized {} trait
|