rust/compiler
Nilstrieb 5706be1854 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-04 13:17:39 +02:00
..
rustc
rustc_abi
rustc_arena
rustc_ast Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_ast_lowering Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_ast_passes
rustc_ast_pretty Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_attr [rustc_attr][nit] Replace filter + is_some with map_or. 2023-08-01 12:39:32 -07:00
rustc_baked_icu_data
rustc_borrowck Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_builtin_macros Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_codegen_cranelift
rustc_codegen_gcc Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3 2023-08-01 19:44:17 +00:00
rustc_codegen_llvm Rollup merge of #114079 - compiler-errors:closure-upvars, r=oli-obk 2023-08-02 13:46:54 +02:00
rustc_codegen_ssa Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3 2023-08-01 19:44:17 +00:00
rustc_const_eval Rollup merge of #114363 - RalfJung:interpret-not-miri, r=jackh726 2023-08-03 08:12:39 +02:00
rustc_data_structures Rollup merge of #114306 - ttsugriy:push_str, r=wesleywiser 2023-08-01 17:39:12 +02:00
rustc_driver
rustc_driver_impl
rustc_error_codes
rustc_error_messages
rustc_errors
rustc_expand Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
rustc_feature
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_hir_analysis Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
rustc_hir_pretty Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_hir_typeck Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_incremental
rustc_index
rustc_infer Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
rustc_interface
rustc_lexer
rustc_lint Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_lint_defs
rustc_llvm Auto merge of #113339 - lqd:respect-filters, r=tmiasko 2023-08-01 23:15:20 +00:00
rustc_log
rustc_macros
rustc_metadata Auto merge of #113292 - MU001999:fix/issue-113222, r=Nilstrieb 2023-08-03 00:53:01 +00:00
rustc_middle Rollup merge of #114363 - RalfJung:interpret-not-miri, r=jackh726 2023-08-03 08:12:39 +02:00
rustc_mir_build Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_mir_dataflow Use upvar_tys in more places, make it a list 2023-08-01 23:19:31 +00:00
rustc_mir_transform Use upvar_tys in more places, make it a list 2023-08-01 23:19:31 +00:00
rustc_monomorphize avoid 'miri' when refering to the shared interpreter 2023-08-02 16:52:03 +02:00
rustc_parse Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_parse_format
rustc_passes Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_plugin_impl
rustc_privacy Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
rustc_query_impl
rustc_query_system
rustc_resolve Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_serialize
rustc_session
rustc_smir clean up, use opaque types 2023-08-01 17:48:20 +03:00
rustc_span
rustc_symbol_mangling avoid 'miri' when refering to the shared interpreter 2023-08-02 16:52:03 +02:00
rustc_target Auto merge of #112922 - g0djan:godjan/wasi-threads, r=wesleywiser 2023-08-02 01:01:48 +00:00
rustc_trait_selection Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
rustc_traits
rustc_transmute
rustc_ty_utils Rollup merge of #114079 - compiler-errors:closure-upvars, r=oli-obk 2023-08-02 13:46:54 +02:00
rustc_type_ir