mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Allow hir::Param to refer to other entity params aside from functions
This commit is contained in:
parent
cd9e90cc71
commit
7c6f31a45b
9 changed files with 114 additions and 118 deletions
|
@ -41,6 +41,7 @@ pub enum FormatSpecifier {
|
|||
Escape,
|
||||
}
|
||||
|
||||
// FIXME: Remove this, we can use rustc_format_parse instead
|
||||
pub fn lex_format_specifiers(
|
||||
string: &ast::String,
|
||||
mut callback: &mut dyn FnMut(TextRange, FormatSpecifier),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue