- 
        Couldn't load subscription status. 
- Fork 13.9k
          Account for C string literals and format_args in HiddenUnicodeCodepoints lint
          #134956
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
  
    Account for C string literals and format_args in HiddenUnicodeCodepoints lint
  
  #134956
              Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
| match mac { | ||
| Ok(mut fmt) if append_newline => { | ||
| fmt.0 = Symbol::intern(&format!("{}\n", fmt.0)); | ||
| fmt.symbol = Symbol::intern(&format!("{}\n", fmt.symbol)); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remark: this is indeed easier to follow
| Let's land both of them here in this PR. @bors r+ rollup | 
format_args in HiddenUnicodeCodepoints lintformat_args in HiddenUnicodeCodepoints lint
      …iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#134610 (Format `build.toml` consistently in platform support docs) - rust-lang#134918 (Windows: Enable issue 70093 link tests) - rust-lang#134953 (Fix doc for read&write unaligned in zst operation) - rust-lang#134956 (Account for C string literals and `format_args` in `HiddenUnicodeCodepoints` lint) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#134956 - compiler-errors:format-args-hidden-chars, r=jieyouxu Account for C string literals and `format_args` in `HiddenUnicodeCodepoints` lint This is stacked on rust-lang#134955, and either that can land first or both of them can land together here. I split this out because this is a bit more involved of an impl. Fixes rust-lang#94945
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#134610 (Format `build.toml` consistently in platform support docs) - rust-lang#134918 (Windows: Enable issue 70093 link tests) - rust-lang#134953 (Fix doc for read&write unaligned in zst operation) - rust-lang#134956 (Account for C string literals and `format_args` in `HiddenUnicodeCodepoints` lint) r? `@ghost` `@rustbot` modify labels: rollup
This is stacked on #134955, and either that can land first or both of them can land together here. I split this out because this is a bit more involved of an impl.
Fixes #94945