Closed
Description
Having the following code in lib.rs
:
#![feature(const_generics)]
use core::ops::Add;
pub struct Simd<T, const WIDTH: usize> {
inner: T
}
impl Add for Simd<u8, 16> {
type Output = Self;
fn add(self, rhs: Self) -> Self::Output {
Self { inner: 0 }
}
}
produces a funny looking rustdoc page:
Maybe related to #60737 ?