File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
rust/ql/lib/codeql/rust/internal Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1495,6 +1495,7 @@ private TypePath closureReturnPath() {
14951495}
14961496
14971497/** Gets the path to a closure with arity `arity`s `index`th parameter type. */
1498+ pragma [ nomagic]
14981499private TypePath closureParameterPath ( int arity , int index ) {
14991500 result =
15001501 TypePath:: cons ( TDynTraitTypeParameter ( any ( FnOnceTrait t ) .getTypeParam ( ) ) ,
@@ -1510,6 +1511,7 @@ private TypePath fnReturnPath() {
15101511 * Gets the path to the parameter type of the `FnOnce` trait with arity `arity`
15111512 * and index `index`.
15121513 */
1514+ pragma [ nomagic]
15131515private TypePath fnParameterPath ( int arity , int index ) {
15141516 result =
15151517 TypePath:: cons ( TTypeParamTypeParameter ( any ( FnOnceTrait t ) .getTypeParam ( ) ) ,
You can’t perform that action at this time.
0 commit comments