Home
last modified time | relevance | path

Searched defs:trait (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/rust/tests/ui/parser/
Dkeyword-trait-as-identifier.rs4 let trait = "foo"; //~ error: expected identifier, found keyword `trait` in main() localVariable
/third_party/rust/rust/tests/ui/parser/mismatched-braces/
Dmissing-close-brace-in-struct.rs4 trait T { field
/third_party/rust/crates/nom/doc/
Derror_management.md299 ### Example usage
/third_party/rust/rust/src/etc/
Dgenerate-deriving-span-tests.py58 def create_test_case(type, trait, super_traits, error_count): argument
/third_party/rust/rust/compiler/rustc_hir_analysis/src/
Dimpl_wf_check.rs192 impl trait, self type, or predicates", in report_unused_parameter() impl
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dkeywords.h37 int trait; variable
/third_party/protobuf/php/tests/proto/
Dtest_reserved_message_lower.proto68 message trait {} message
Dtest_reserved_enum_value_lower.proto69 trait = 60; enumerator
Dtest_reserved_enum_lower.proto68 enum trait { ZERO61 = 0; } enum
/third_party/grpc/src/core/ext/transport/inproc/
Dlegacy_inproc_transport.cc328 void Encode(T trait, V value) { in Encode()
333 void Encode(T trait, const grpc_core::Slice& value) { in Encode()
/third_party/rust/crates/syn/src/
Ditem.rs2137 trait_token: Token![trait], in parse_rest_of_trait()
2193 ) -> Result<(Vec<Attribute>, Visibility, Token![trait], Ident, Generics)> { in parse_start_of_trait_alias()
2206 trait_token: Token![trait], in parse_rest_of_trait_alias()