about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-04-05 22:52:22 -0400
committerMichael Goulet <michael@errs.io>2024-04-25 10:03:17 -0400
commitb2fea557f3ca616ec1b1e119132d3f4205ed2bc2 (patch)
tree23896a9929d74082cb7e08766e49f3a071c48167 /compiler/rustc_middle/src
parent487cdeb039741600f5547d0c619a4cbd4039815d (diff)
Check closure args and returns are WF
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/traits/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/traits/mod.rs b/compiler/rustc_middle/src/traits/mod.rs
index ceee3ea48e3..c4eef8e7728 100644
--- a/compiler/rustc_middle/src/traits/mod.rs
+++ b/compiler/rustc_middle/src/traits/mod.rs
@@ -487,7 +487,7 @@ pub enum WellFormedLoc {
         /// The index of the parameter to use.
         /// Parameters are indexed from 0, with the return type
         /// being the last 'parameter'
-        param_idx: u16,
+        param_idx: usize,
     },
 }