-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
lintNew lint or lint enhancementNew lint or lint enhancement
Description
Right now, the lint uses a function is_lit_string
that checks whether its argument is a literal string:
&& let Some(s) = is_lit_string(cx, arg) && let Some(s) = is_lit_string(cx, arg)
The lint should be able to handle cases where a path component is constant but not a literal, e.g., env!("CARGO_MANIFEST_DIR")
.
Metadata
Metadata
Assignees
Labels
lintNew lint or lint enhancementNew lint or lint enhancement