Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
const-generics
/
generic_const_exprs
/
auxiliary
/
feature-attribute-missing-in-dependent-crate-ice-aux.rs
blob: 3902454c14cdb92d05065b168b2741cb720933c6 [
file
] [
log
] [
blame
]
#![
feature
(
generic_const_exprs
)]
pub
struct
Error
(());
pub
trait
FromSlice
:
Sized
{
const
SIZE
:
usize
=
std
::
mem
::
size_of
::<
Self
>();
fn
validate_slice
(
bytes
:
&[[
u8
;
Self
::
SIZE
]])
->
Result
<(),
Error
>;
}