Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
55b6f649024b372af901b3412a6d36c4284ccf3d
rust/tests/ui/intrinsics/const-eval-select-backtrace-std.run.stderr

4 lines
185 B
Plaintext
Raw Normal View History

Improve spans for indexing expressions Indexing is similar to method calls in having an arbitrary left-hand-side and then something on the right, which is the main part of the expression. Method calls already have a span for that right part, but indexing does not. This means that long method chains that use indexing have really bad spans, especially when the indexing panics and that span in coverted into a panic location. This does the same thing as method calls for the AST and HIR, storing an extra span which is then put into the `fn_span` field in THIR.
2023-08-03 21:43:17 +02:00
thread 'main' panicked at $DIR/const-eval-select-backtrace-std.rs:6:8:
Change default panic handler message format.
2023-06-20 19:16:18 +02:00
byte index 1 is out of bounds of ``
Make `const_eval_select` a real intrinsic
2022-08-23 00:07:26 +00:00
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 799ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API