]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Force crash when retrieving meta item location
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 1 Oct 2025 14:26:47 +0000 (16:26 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 20:30:55 +0000 (21:30 +0100)
commit3acbf40e874cf8c85fbbe64db93d81201e1dc480
tree64531b4eaed24095d8106eb019c458145ab17066
parentbff55b79b396852a6df8b7809693f1a161b9615f
gccrs: Force crash when retrieving meta item location

We still don't know which location should be preferred over the other,
this means that nobody should rely on this function's return value.

gcc/rust/ChangeLog:

* ast/rust-expr.h: Force crash when retrieving locus.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-expr.h