- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Point at the string inside literal and mention if we need string inte… #100941
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
Conversation
| Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @oli-obk (or someone else) soon. Please see the contribution instructions for more information. | 
| Could you add a ui test about this suggestion? | 
| 
 The problem for this specific issue is we're improving the warning for unused variables. But the ui test script won't emit the unused variables with the command  Thus, the output of this case is nothing and always failed. | 
| You can try adding  | 
f52412c    to
    bfb88b5      
    Compare
  
    | yes that works. thanks | 
bfb88b5    to
    0432633      
    Compare
  
    …rpolation modified: compiler/rustc_passes/src/liveness.rs new file: src/test/ui/type/issue-100584.rs new file: src/test/ui/type/issue-100584.stderr
0432633    to
    39ffabb      
    Compare
  
    | @bors r+ Thanks! and sorry for the let/else confusion | 
| 
 No worries. Thank you for all useful suggestions, especially for beginners like me. I've learned a lot from this back-and-forth work with you. Appreciate it! | 
Rollup of 5 pull requests Successful merges: - rust-lang#99517 (Display raw pointer as *{mut,const} T instead of *-ptr in errors) - rust-lang#99928 (Do not leak type variables from opaque type relation) - rust-lang#100473 (Attempt to normalize `FnDef` signature in `InferCtxt::cmp`) - rust-lang#100653 (Move the cast_float_to_int fallback code to GCC) - rust-lang#100941 (Point at the string inside literal and mention if we need string inte…) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…rpolation