Skip to content

Commit

Permalink
Rollup merge of rust-lang#104199 - SarthakSingh31:issue-97417-1, r=cj…
Browse files Browse the repository at this point in the history
…gillot

Keep track of the start of the argument block of a closure

This removes a call to `tcx.sess.source_map()` from [compiler/rustc_trait_selection/src/traits/error_reporting/mod.rs](https://github.com/rust-lang/rust/compare/master...SarthakSingh31:issue-97417-1?expand=1#diff-8406bbc0d0b43d84c91b1933305df896ecdba0d1f9269e6744f13d87a2ab268a) as required by rust-lang#97417.

VsCode automatically applied `rustfmt` to the files I edited under `src/tools`. I can undo that if its a problem.

r? `@cjgillot`
  • Loading branch information
matthiaskrgr authored Dec 3, 2022
2 parents bf85301 + 2f18cf4 commit caca5ed
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit caca5ed

Please sign in to comment.