forked from libre-chip/fayalite
get #[hdl] struct S<A: KnownSize, B: KnownSize> to work
This commit is contained in:
parent
4909724995
commit
d0229fbcfb
3 changed files with 32 additions and 25 deletions
|
@ -1,11 +1,10 @@
|
|||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
// See Notices.txt for copyright information
|
||||
use fayalite::prelude::*;
|
||||
#[cfg(todo)]
|
||||
use fayalite::{
|
||||
bundle::BundleType,
|
||||
enum_::EnumType,
|
||||
int::{BoolOrIntType, IntType},
|
||||
prelude::*,
|
||||
ty::StaticType,
|
||||
};
|
||||
use std::marker::PhantomData;
|
||||
|
@ -121,7 +120,6 @@ mod bound_kind {
|
|||
|
||||
macro_rules! check_bounds {
|
||||
($name:ident<$(#[$field:ident, $kind:ident] $var:ident: $($bound:ident +)*),*>) => {
|
||||
#[cfg(todo)]
|
||||
#[hdl(outline_generated)]
|
||||
struct $name<$($var: $($bound +)*,)*> {
|
||||
$($field: bound_kind::$kind<$var>,)*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue