]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: [E0133] Use of unsafe code outside of unsafe function or block
authorMuhammad Mahad <mahadtxt@gmail.com>
Thu, 13 Jul 2023 08:57:37 +0000 (13:57 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:49:37 +0000 (18:49 +0100)
commit0da798e3666af22ebdf58d39198acff1de71a33b
tree4cf26436a1b74915ce8105f77bbc209cb64fa68e
parentffadba42b3022855db48bdd94e0c95a8480bc278
gccrs: [E0133] Use of unsafe code outside of unsafe function or block

gcc/rust/ChangeLog:

* checks/errors/rust-unsafe-checker.cc (check_unsafe_call):
called error function.

Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
gcc/rust/checks/errors/rust-unsafe-checker.cc