os-rust/src
bors 53728ff751 Auto merge of #103185 - chenyukang:yukang/fix-span-next-point, r=davidtwco
Fix the bug of next_point in source_map

There is a bug in `next_point`, the new span won't move to next position when be called in the first time.

For this reason, our current code is working like this:
1. When we really want to move to the next position, we called two times of `next_point`
2. Some code which use `next_point` actually done the same thing with `shrink_to_hi`

This fix make sure when `next_point` is called, span will move with the width at least 1, and also work correctly in the scenario of multiple bytes.

Ref: https://github.com/rust-lang/rust/pull/103140#discussion_r997710998

r? `@davidtwco`
2022-10-20 10:40:09 +00:00
..
bootstrap mark rust-analyzer as a host-only tool 2022-10-19 14:33:17 +02:00
ci Update browser-ui-test version to 0.12.7 2022-10-19 11:08:13 +02:00
doc Stabilize asm_sym 2022-10-17 22:38:37 +01:00
etc Rollup merge of #102092 - kxxt:patch-1, r=joshtriplett 2022-10-14 23:43:42 +02:00
librustdoc Rollup merge of #103257 - notriddle:notriddle/setting-line, r=GuillaumeGomez 2022-10-19 21:38:42 +02:00
llvm-project@9567f08afc Update LLVM submodule 2022-09-30 16:39:32 +02:00
rustdoc-json-types Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
test Auto merge of #103220 - compiler-errors:deny-infers, r=lcnr 2022-10-20 05:56:56 +00:00
tools Auto merge of #103185 - chenyukang:yukang/fix-span-next-point, r=davidtwco 2022-10-20 10:40:09 +00:00
README.md Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00
stage0.json bump stage0 2022-09-26 10:13:46 +02:00
version bump version to 1.66.0 2022-09-16 10:51:09 +02:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like cargo, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.