gcc/rust/ChangeLog:
* ast/rust-ast-collector.cc: Adjust formatting.
* checks/errors/rust-feature-gate.cc: Add trailing newline.
* rust-diagnostics.h: Remove old comment.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
push (Rust::Token::make (EXCLAM, UNDEF_LOCATION));
visit (data.get_delim_tok_tree ());
if (invocation.has_semicolon ())
- {
- push (Rust::Token::make (SEMICOLON, UNDEF_LOCATION));
- }
+ push (Rust::Token::make (SEMICOLON, UNDEF_LOCATION));
}
void
"extern types are experimental");
}
-} // namespace Rust
\ No newline at end of file
+} // namespace Rust
// rust_debug uses normal printf formatting, not GCC diagnostic formatting.
#define rust_debug(...) rust_debug_loc (UNDEF_LOCATION, __VA_ARGS__)
-// rust_sorry_at wraps GCC diagnostic "sorry_at" to accept "Location" instead of
-// "location_t"
#define rust_sorry_at(location, ...) sorry_at (location, __VA_ARGS__)
void