Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gccrs: [E0535] Unknown argument given to inline attribute
The inline attribute only supports two arguments: - always - never All other arguments given to the inline attribute will return error. gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::handle_inline_attribute_on_fndecl): Added rich_location & error code. gcc/testsuite/ChangeLog: * rust/compile/inline_2.rs: Added new message. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
- Loading branch information