https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |15.2
                 CC|                            |jamborm at gcc dot gnu.org
           Assignee|powerboat9.gamer at gmail dot com  |tschwinge at gcc dot 
gnu.org

--- Comment #7 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to myself from comment #5)
> I'm confirming that all but one '-Wnarrowing' are resolved.  Only this one
> remains:
> 
>    
> [...]/gcc/rust/checks/errors/borrowck/rust-borrow-checker-diagnostics.cc: In
> member function 'const Rust::BIR::Loan&
> Rust::BIR::BorrowCheckerDiagnostics::get_loan(Rust::Polonius::Loan)':
>    
> [...]/gcc/rust/checks/errors/borrowck/rust-borrow-checker-diagnostics.cc:145:
> 46: warning: narrowing conversion of 'loan' from 'Rust::Polonius::Loan' {aka
> 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} [-Wnarrowing]
>       145 |   return bir_function.place_db.get_loans ()[{loan}];
>           |                                              ^~~~

Resolved via commit r16-1710-g1e69c5655894ab3cbeb4431a5b3daff211d3c4e1 "rust:
Silence a clang warning in borrow-checker-diagnostics".


(In reply to myself from comment #3)
> Given this has been filed with "Version: 15.0", should this be cherry-picked
> into releases/gcc-15 branch as well?

I'll take care of that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to