diff options
| author | Albert Larsan <74931857+albertlarsan68@users.noreply.github.com> | 2023-01-05 09:13:28 +0100 |
|---|---|---|
| committer | Albert Larsan <74931857+albertlarsan68@users.noreply.github.com> | 2023-01-11 09:32:08 +0000 |
| commit | cf2dff2b1e3fa55fa5415d524200070d0d7aacfe (patch) | |
| tree | 40a88d9a46aaf3e8870676eb2538378b75a263eb /src/test/rustdoc/const-generics/auxiliary | |
| parent | ca855e6e42787ecd062d81d53336fe6788ef51a9 (diff) | |
Move /src/test to /tests
Diffstat (limited to 'src/test/rustdoc/const-generics/auxiliary')
| -rw-r--r-- | src/test/rustdoc/const-generics/auxiliary/extern_crate.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/rustdoc/const-generics/auxiliary/extern_crate.rs b/src/test/rustdoc/const-generics/auxiliary/extern_crate.rs deleted file mode 100644 index 55b632a48f2..00000000000 --- a/src/test/rustdoc/const-generics/auxiliary/extern_crate.rs +++ /dev/null @@ -1,16 +0,0 @@ -// edition:2018 -pub fn extern_fn<const N: usize>() -> impl Iterator<Item = [u8; N]> { - [[0; N]; N].iter().copied() -} - -pub struct ExternTy<const N: usize> { - pub inner: [u8; N], -} - -pub type TyAlias<const N: usize> = ExternTy<N>; - -pub trait WTrait<const N: usize, const M: usize> { - fn hey<const P: usize>() -> usize { - N + M + P - } -} |
