mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
e63664773c
* Move dyn-drop to dyn-keyword * Reorganize `tests/ui/empty` into specific dirs remove tests/ui/empty/empty-linkname.rs duplicate of tests/ui/error-codes/E0454.rs * Move `missing-trait-bounds` to `trait-bound/missing-trait-bounds` * bless traits/missing-trait-bounds tests * Move `recursion_limit` to `recursion/recursion_limit` * Move `version` to `compile-flags`
12 lines
366 B
Rust
12 lines
366 B
Rust
// `/**/` was previously regarded as a doc comment because it starts with `/**` and ends with `*/`.
|
|
// This could break some internal logic that assumes the length of a doc comment is at least 5,
|
|
// leading to an ICE.
|
|
|
|
macro_rules! one_arg_macro {
|
|
($fmt:expr) => (print!(concat!($fmt, "\n")));
|
|
}
|
|
|
|
fn main() {
|
|
one_arg_macro!(/**/); //~ ERROR unexpected end
|
|
}
|