File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/tools/rust-analyzer/crates/hir-def/src/expr_store Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2400,7 +2400,8 @@ impl ExprCollector<'_> {
2400
2400
Some ( FormatCount :: Literal ( n) ) => {
2401
2401
let args = self . alloc_expr_desugared ( Expr :: Literal ( Literal :: Uint (
2402
2402
* n as u128 ,
2403
- Some ( BuiltinUint :: Usize ) ,
2403
+ // FIXME: Change this to Some(BuiltinUint::U16) once we drop support for toolchains < 1.88
2404
+ None ,
2404
2405
) ) ) ;
2405
2406
let count_is = match LangItem :: FormatCount . ty_rel_path (
2406
2407
self . db ,
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ fn main() {
216
216
8u32,
217
217
builtin#lang(Count::Implied),
218
218
builtin#lang(Count::Is)(
219
- 2usize ,
219
+ 2 ,
220
220
),
221
221
), builtin#lang(Placeholder::new)(
222
222
1usize,
You can’t perform that action at this time.
0 commit comments