Create a comprehensive Rust quiz for senior developers. ## Target Audience Senior Rust developers who should be tested on general, universally-known knowledge. Do NOT include domain-specific tools th
Move semantics, borrowing rules, closure capture modes, and common ownership patterns including Rc, Arc, Cow, and interior mutability
36 questionsLifetime annotations, elision rules, complex lifetime cases, variance (covariance/contravariance/invariance), higher-ranked trait bounds, static lifetime, and lifetime bounds
34 questionsTrait objects vs generics, associated types, trait bounds, marker traits, coherence rules, default implementations, supertraits, and object safety
35 questionsGeneric functions, structs, enums, type parameters, const generics, PhantomData, newtype pattern, type-level programming, inference, and generic trait implementations
Result type, Option, the ? operator, error propagation, custom error types, and error handling patterns
30 questionsUnit tests, integration tests, doc tests, benchmarks
30 questionsDerive macros, custom implementations, formats
30 questionsSend and Sync traits, Arc, Mutex, RwLock, channels (mpsc), async/await, Tokio runtime, async traits, and concurrent data structures.
30 questionsDeclarative macros (macro_rules!), procedural macros (derive, attribute, function-like), hygiene, and common macro patterns.
30 questions