diff options
Diffstat (limited to 'ptx_parser/src/ast.rs')
-rw-r--r-- | ptx_parser/src/ast.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ptx_parser/src/ast.rs b/ptx_parser/src/ast.rs index f0d3fbe..c5e8e79 100644 --- a/ptx_parser/src/ast.rs +++ b/ptx_parser/src/ast.rs @@ -1264,9 +1264,9 @@ pub enum SetpCompareFloat { }
impl TryFrom<(RawSetpCompareOp, ScalarKind)> for SetpCompareInt {
- type Error = PtxError;
+ type Error = PtxError<'static>;
- fn try_from((value, kind): (RawSetpCompareOp, ScalarKind)) -> Result<Self, PtxError> {
+ fn try_from((value, kind): (RawSetpCompareOp, ScalarKind)) -> Result<Self, PtxError<'static>> {
match (value, kind) {
(RawSetpCompareOp::Eq, _) => Ok(SetpCompareInt::Eq),
(RawSetpCompareOp::Ne, _) => Ok(SetpCompareInt::NotEq),
|