mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 02:52:11 +00:00
Merge from rust-lang/rust
This commit is contained in:
commit
9e86544698
10 changed files with 25 additions and 7 deletions
|
|
@ -224,7 +224,7 @@ impl ExprCollector<'_> {
|
|||
|
||||
curarg = parser.curarg;
|
||||
|
||||
let to_span = |inner_span: rustc_parse_format::InnerSpan| {
|
||||
let to_span = |inner_span: std::ops::Range<usize>| {
|
||||
is_direct_literal.then(|| {
|
||||
TextRange::new(
|
||||
inner_span.start.try_into().unwrap(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue