mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
## What changed - Move the lint to `nightly-2026-08-20` and Dylint `6.1.0`, updating CI, release artifacts, Bazel configuration, and installation instructions. - Adapt to the updated rustc and Clippy APIs, including resolving `Option::None` through type aliases when checking for uncommented arguments. - Set the `chatgpt` crate's `recursion_limit` to `256`. ## Testing Extend the UI fixture to expect an uncommented-argument warning for `OptionalString::None`, where `OptionalString` aliases `Option<String>`. GitOrigin-RevId: 34e1b173972f0bfa9b6c8fd3342ca652539efe2f
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
warning: anonymous literal-like argument for parameter `base_url`
|
|
--> $DIR/uncommented_literal.rs:16:31
|
|
|
|
|
LL | let _ = create_openai_url(None, 3);
|
|
| ^^^^ help: prepend the parameter name comment: `/*base_url*/ None`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/uncommented_literal.rs:1:9
|
|
|
|
|
LL | #![warn(uncommented_anonymous_literal_argument)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: anonymous literal-like argument for parameter `retry_count`
|
|
--> $DIR/uncommented_literal.rs:16:37
|
|
|
|
|
LL | let _ = create_openai_url(None, 3);
|
|
| ^ help: prepend the parameter name comment: `/*retry_count*/ 3`
|
|
|
|
warning: anonymous literal-like argument for parameter `enabled`
|
|
--> $DIR/uncommented_literal.rs:17:21
|
|
|
|
|
LL | client.set_flag(true);
|
|
| ^^^^ help: prepend the parameter name comment: `/*enabled*/ true`
|
|
|
|
warning: anonymous literal-like argument for parameter `base_url`
|
|
--> $DIR/uncommented_literal.rs:20:31
|
|
|
|
|
LL | let _ = create_openai_url(OptionalString::None, /*retry_count*/ 3);
|
|
| ^^^^^^^^^^^^^^^^^^^^ help: prepend the parameter name comment: `/*base_url*/ OptionalString::None`
|
|
|
|
warning: 4 warnings emitted
|
|
|