summaryrefslogtreecommitdiff
path: root/rust/src/architecture.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/architecture.rs')
-rw-r--r--rust/src/architecture.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs
index 9a7b3e72..82df7441 100644
--- a/rust/src/architecture.rs
+++ b/rust/src/architecture.rs
@@ -313,7 +313,7 @@ pub trait Intrinsic: Sized + Clone + Copy {
fn id(&self) -> u32;
/// Reeturns the list of the input names and types for this intrinsic.
- fn inputs(&self) -> Vec<NameAndType<String>>;
+ fn inputs(&self) -> Vec<NameAndType>;
/// Returns the list of the output types for this intrinsic.
fn outputs(&self) -> Vec<Conf<Ref<Type>>>;
@@ -650,7 +650,7 @@ impl Intrinsic for UnusedIntrinsic {
fn id(&self) -> u32 {
unreachable!()
}
- fn inputs(&self) -> Vec<NameAndType<String>> {
+ fn inputs(&self) -> Vec<NameAndType> {
unreachable!()
}
fn outputs(&self) -> Vec<Conf<Ref<Type>>> {
@@ -992,7 +992,7 @@ impl Intrinsic for crate::architecture::CoreIntrinsic {
self.1
}
- fn inputs(&self) -> Vec<NameAndType<String>> {
+ fn inputs(&self) -> Vec<NameAndType> {
let mut count: usize = 0;
unsafe {