rust/tests/crashes/140281.rs

19 lines
260 B
Rust
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//@ known-bug: #140281
macro_rules! foo {
($x:expr) => { $x }
}
fn main() {
let t = vec![
/// test RTL in doc in vec!
// ICE (Sadly)
1
];
foo!(
/// test RTL in doc in macro
1
);
}