mirror of
https://github.com/openai/codex.git
synced 2026-05-03 21:01:55 +03:00
Add argument-comment Dylint runner (#14651)
This commit is contained in:
15
tools/argument-comment-lint/ui/comment_mismatch.stderr
Normal file
15
tools/argument-comment-lint/ui/comment_mismatch.stderr
Normal file
@@ -0,0 +1,15 @@
|
||||
warning: argument comment `/*api_base*/` does not match parameter `base_url`
|
||||
--> $DIR/comment_mismatch.rs:9:44
|
||||
|
|
||||
LL | let _ = create_openai_url(/*api_base*/ None);
|
||||
| ^^^^
|
||||
|
|
||||
= help: use `/*base_url*/`
|
||||
note: the lint level is defined here
|
||||
--> $DIR/comment_mismatch.rs:1:9
|
||||
|
|
||||
LL | #![warn(argument_comment_mismatch)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
warning: 1 warning emitted
|
||||
|
||||
Reference in New Issue
Block a user