Use `constant_context`, `.is_str()` and `builtin_index()` to simplify.
This crate contains Clippy lints. For the main crate, check GitHub.