diff --git a/packages/quicktype-core/src/language/Rust.ts b/packages/quicktype-core/src/language/Rust.ts index 93b0a1b33..3e3a3b89b 100644 --- a/packages/quicktype-core/src/language/Rust.ts +++ b/packages/quicktype-core/src/language/Rust.ts @@ -203,7 +203,10 @@ const keywords = [ "default", "dyn", "'static", - "union" + "union", + + // Conflict between `std::Option` and potentially generated Option + "option" ]; const isAsciiLetterOrUnderscoreOrDigit = (codePoint: number): boolean => {