Home
last modified time | relevance | path

Searched defs:Tuple (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/rust/rust/src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/
D0144_dot_dot_pat.rs8 let Tuple(a, ..) = (); in main() localVariable
9 let Tuple(a, ..,) = (); in main() localVariable
11 let Tuple(.., ..) = (); in main() localVariable
13 let Tuple(.., a, ..) = (); in main() localVariable
/third_party/rust/rust/tests/ui/issues/
Dissue-28561.rs57 struct Tuple<A, B, C, D, E, F, G, H, I, J, K, L> { struct
58 f00: (),
59 f01: (A),
60 f02: (A, B),
61 f03: (A, B, C),
62 f04: (A, B, C, D),
63 f05: (A, B, C, D, E),
64 f06: (A, B, C, D, E, F),
65 f07: (A, B, C, D, E, F, G),
66 f08: (A, B, C, D, E, F, G, H),
[all …]
/third_party/rust/rust/tests/ui/variants/
Dvariant-namespacing.rs5 Tuple(u8), enumerator
10 type Tuple = u8; typedef
17 const Tuple: u8 = 0; constant
/third_party/rust/rust/tests/ui/unboxed-closures/
Dunboxed-closure-illegal-move.rs7 fn to_fn<A:std::marker::Tuple,F:Fn<A>>(f: F) -> F { f } in to_fn()
8 fn to_fn_mut<A:std::marker::Tuple,F:FnMut<A>>(f: F) -> F { f } in to_fn_mut()
9 fn to_fn_once<A:std::marker::Tuple,F:FnOnce<A>>(f: F) -> F { f } in to_fn_once()
Dunboxed-closures-mutate-upvar.rs9 fn to_fn<A:std::marker::Tuple,F:Fn<A>>(f: F) -> F { f } in to_fn()
10 fn to_fn_mut<A:std::marker::Tuple,F:FnMut<A>>(f: F) -> F { f } in to_fn_mut()
/third_party/rust/rust/tests/ui/auxiliary/
Dpub-and-stability.rs54 pub struct Tuple( struct
71 impl Tuple { implementation
98 impl Trait for Tuple { implementation
121 impl Tuple { impl
/third_party/rust/rust/tests/ui/borrowck/
Dborrowck-move-by-capture.rs3 fn to_fn_mut<A:std::marker::Tuple,F:FnMut<A>>(f: F) -> F { f } in to_fn_mut()
4 fn to_fn_once<A:std::marker::Tuple,F:FnOnce<A>>(f: F) -> F { f } in to_fn_once()
Dborrow-immutable-upvar-mutation.rs10 fn to_fn<A: std::marker::Tuple, F: Fn<A>>(f: F) -> F { in to_fn()
13 fn to_fn_mut<A: std::marker::Tuple, F: FnMut<A>>(f: F) -> F { in to_fn_mut()
/third_party/rust/rust/tests/ui/rfcs/rfc-2008-non-exhaustive/
Denum_same_crate_empty_match.rs7 Tuple(u32), enumerator
16 Tuple(u32), enumerator
/third_party/mindspore/mindspore-src/source/mindspore/core/ir/dtype/
Dcontainer.h125 Tuple() : Object(kObjectTypeTuple) {} in Tuple() function
130 Tuple(const std::initializer_list<TypePtr> &objs) in Tuple() function
136 …explicit Tuple(const TypePtrList &objs) : Object(kObjectTypeTuple, false), elements_(objs.begin(),… in Tuple() function
140 MS_DECLARE_PARENT(Tuple, Object) in MS_DECLARE_PARENT() argument
/third_party/rust/rust/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/auxiliary/
Duninhabited.rs17 #[non_exhaustive] Tuple(!), enumerator
22 Tuple(u8), enumerator
/third_party/rust/rust/tests/ui/rfcs/rfc-2008-non-exhaustive/improper_ctypes/auxiliary/
Dtypes.rs5 Tuple(u32), enumerator
27 #[non_exhaustive] Tuple(u32), enumerator
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dunnecessary_operation.rs12 struct Tuple(i32); struct
17 Tuple(i32), enumerator
31 Tuple(i32), enumerator
/third_party/rust/crates/serde/test_suite/no_std/src/
Dmain.rs32 struct Tuple(u8, u8); struct
43 Tuple(u8, u8), enumerator
/third_party/rust/rust/tests/ui/rfcs/rfc-2008-non-exhaustive/uninhabited/
Dpatterns_same_crate.rs18 #[non_exhaustive] Tuple(!), enumerator
23 Tuple(u8), enumerator
/third_party/rust/rust/tests/ui/rfcs/rfc-2008-non-exhaustive/improper_ctypes/
Dsame_crate_proper.rs11 Tuple(u32), enumerator
35 Tuple(u32), enumerator
/third_party/rust/rust/tests/rustdoc-json/structs/
Dtuple.rs4 pub struct Tuple(u32, String); struct
/third_party/rust/rust/tests/ui/feature-gates/
Dfeature-gate-abi.rs12 trait Tuple { } interface
/third_party/rust/crates/serde/test_suite/tests/ui/with-variant/
Dskip_ser_tuple_field_if.rs6 Tuple(#[serde(skip_serializing_if = "always")] String, u8), enumerator
Dskip_de_tuple_field.rs6 Tuple(#[serde(skip_deserializing)] String, u8), enumerator
Dskip_ser_tuple_field.rs6 Tuple(#[serde(skip_serializing)] String, u8), enumerator
/third_party/rust/crates/serde/test_suite/tests/ui/enum-representation/
Dinternal-tuple-variant.rs6 Tuple(u8, u8), enumerator
/third_party/rust/rust/tests/ui/pattern/
Dpat-type-err-formal-param.rs6 struct Tuple(u8); struct
/third_party/rust/rust/tests/ui/enum-discriminant/
Darbitrary_enum_discriminant-no-repr.rs6 Tuple() = 2, enumerator
/third_party/rust/rust/tests/ui/rfcs/rfc-2008-non-exhaustive/auxiliary/
Dvariants.rs5 #[non_exhaustive] Tuple(u32), enumerator

123456