2469afef1a
This greatly simplifies how hard it is to set a custom bug report url; previously tools had to copy the entire hook implementation. - Switch clippy to the new hook This also adds a `extra_info` callback so clippy can include its own version number, which differs from rustc's. - Call `install_ice_hook` in rustfmt
17 lines
537 B
Plaintext
17 lines
537 B
Plaintext
error: expected one of `->`, `where`, or `{`, found `<eof>`
|
|
--> $DIR/ice-bug-report-url.rs:13:10
|
|
|
|
|
LL | fn wrong()
|
|
| ^ expected one of `->`, `where`, or `{`
|
|
|
|
thread panicked at 'aborting due to `-Z treat-err-as-bug`'
|
|
stack backtrace:
|
|
error: the compiler unexpectedly panicked. this is a bug.
|
|
|
|
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-rustdoc&template=ice.md
|
|
|
|
note: rustc {version} running on {platform}
|
|
|
|
query stack during panic:
|
|
end of query stack
|