-Z macro-backtrace no longer works?

Passing -Z macro-backtrace to rustc nightly used to work to get proc macro backtraces when a proc macro panics, but it doesn't seem to work with recent nightlies.

I searched in rustc issue tracker but couldn't find anything relevant.

How does one get proc macro backtrace in a recent nightly rustc?

1 Like

I think it's -Z proc-macro-backtrace, but I don't know if that changed recently.

1 Like