You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// forbid-output: in this expansion ofmacro_rules! make_method {($name:ident) => (fn $name(&self){})}structS;implS{// We had a bug where these wouldn't clean up macro backtrace frames.make_method!(foo1);make_method!(foo2);make_method!(foo3);make_method!(enumerated_loop);make_method!(foo5);make_method!(foo6);make_method!(foo7);make_method!(foo8);// Cause an error. It shouldn't have any macro backtrace frames.#[linkage = "linkonce"]fnbar(&self){}//~ ERROR duplicate definitions}fnmain(){}
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Zcodegen-backend=cranelift -Zcrate-attr=feature(linkage)
Program output
The text was updated successfully, but these errors were encountered: