move Value derive macro re-export to same place as Value trait
All checks were successful
/ test (push) Successful in 8m55s

This commit is contained in:
Jacob Lifshay 2024-07-16 16:51:54 -07:00
parent 6a5f1b8af1
commit d610858144
Signed by: programmerjake
SSH key fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c
7 changed files with 7 additions and 7 deletions

View file

@ -102,7 +102,7 @@ impl CanonicalValue for Clock {
} }
} }
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, crate::Value)] #[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, Value)]
#[hdl(fixed_type, outline_generated)] #[hdl(fixed_type, outline_generated)]
pub struct ClockDomain { pub struct ClockDomain {
pub clock: Clock, pub clock: Clock,

View file

@ -611,7 +611,7 @@ impl CanonicalValue for DynEnum {
mod impl_option { mod impl_option {
#[allow(dead_code)] #[allow(dead_code)]
#[derive(crate::Value)] #[derive(crate::ty::Value)]
#[hdl(target(std::option::Option), connect_inexact, outline_generated)] #[hdl(target(std::option::Option), connect_inexact, outline_generated)]
pub enum Option<T> { pub enum Option<T> {
None, None,

View file

@ -5,7 +5,7 @@ extern crate self as fayalite;
#[doc(hidden)] #[doc(hidden)]
pub use std as __std; pub use std as __std;
pub use fayalite_proc_macros::{hdl_module, Value}; pub use fayalite_proc_macros::hdl_module;
pub mod annotations; pub mod annotations;
pub mod array; pub mod array;

View file

@ -28,7 +28,7 @@ use std::{
sync::Arc, sync::Arc,
}; };
pub use crate::Value; pub use fayalite_proc_macros::Value;
mod sealed { mod sealed {
pub trait Sealed {} pub trait Sealed {}

View file

@ -12,7 +12,7 @@ use fayalite::{
module::transform::simplify_enums::{simplify_enums, SimplifyEnumsKind}, module::transform::simplify_enums::{simplify_enums, SimplifyEnumsKind},
reset::{SyncReset, ToReset}, reset::{SyncReset, ToReset},
source_location::SourceLocation, source_location::SourceLocation,
Value, ty::Value,
}; };
use serde_json::json; use serde_json::json;

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
// See Notices.txt for copyright information // See Notices.txt for copyright information
use fayalite::Value; use fayalite::ty::Value;
#[derive(Value)] #[derive(Value)]
union U { union U {

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
// See Notices.txt for copyright information // See Notices.txt for copyright information
use fayalite::{int::UInt, Value}; use fayalite::{int::UInt, ty::Value};
#[derive(Value, Clone, Hash, PartialEq, Eq, Debug)] #[derive(Value, Clone, Hash, PartialEq, Eq, Debug)]
#[hdl(outline_generated)] #[hdl(outline_generated)]