Skip to content

Commit 533c9b6

Browse files
committed
Annotate FIXME with corresponding rustc bug report
1 parent b80f591 commit 533c9b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/rcref.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ impl<'a, T: ?Sized, const NUM: usize, const DEN: usize> StaticRcRef<'a, T, NUM,
394394
/// ```
395395
#[inline(always)]
396396
pub fn join<const A: usize, const B: usize>(left: StaticRcRef<'a, T, A, DEN>, right: StaticRcRef<'a, T, B, DEN>) -> Self
397-
// FIXME: re-enable when compiler fixed
397+
// FIXME: re-enable when https://github.com/rust-lang/rust/issues/77708 fixed
398398
// where
399399
// AssertEqType!(NUM, A + B): Sized,
400400
{
@@ -438,11 +438,11 @@ impl<'a, T: ?Sized, const NUM: usize, const DEN: usize> StaticRcRef<'a, T, NUM,
438438
left: StaticRcRef<'a, T, A, DEN>,
439439
_right: StaticRcRef<'a, T, B, DEN>,
440440
) -> Self
441-
// FIXME: re-enable when compiler fixed
441+
// FIXME: re-enable when https://github.com/rust-lang/rust/issues/77708 fixed
442442
// where
443443
// AssertEqType!(NUM, A + B): Sized,
444444
{
445-
// FIXME: re-enable when compiler fixed
445+
// FIXME: re-enable when https://github.com/rust-lang/rust/issues/77708 fixed
446446
// #[cfg(not(feature = "compile-time-ratio"))]
447447
assert_eq!(NUM, A + B, "{} != {} + {}", NUM, A, B);
448448

@@ -475,7 +475,7 @@ impl<'a, T: ?Sized, const NUM: usize, const DEN: usize> StaticRcRef<'a, T, NUM,
475475
/// ```
476476
#[inline(always)]
477477
pub fn join_array<const N: usize, const DIM: usize>(array: [StaticRcRef<'a, T, N, DEN>; DIM]) -> Self
478-
// FIXME: re-enable when compiler fixed
478+
// FIXME: re-enable when https://github.com/rust-lang/rust/issues/77708 fixed
479479
// where
480480
// AssertLeType!(1, NUM): Sized,
481481
// AssertEqType!(N * DIM, NUM): Sized,
@@ -514,12 +514,12 @@ impl<'a, T: ?Sized, const NUM: usize, const DEN: usize> StaticRcRef<'a, T, NUM,
514514
#[inline(always)]
515515
pub unsafe fn join_array_unchecked<const N: usize, const DIM: usize>(array: [StaticRcRef<'a, T, N, DEN>; DIM])
516516
-> Self
517-
// FIXME: re-enable when compiler fixed
517+
// FIXME: re-enable when https://github.com/rust-lang/rust/issues/77708 fixed
518518
// where
519519
// AssertLeType!(1, NUM): Sized,
520520
// AssertEqType!(N * DIM, NUM): Sized,
521521
{
522-
// FIXME: re-enable when compiler fixed
522+
// FIXME: re-enable when https://github.com/rust-lang/rust/issues/77708 fixed
523523
// #[cfg(not(feature = "compile-time-ratio"))]
524524
{
525525
assert!(NUM > 0);

0 commit comments

Comments
 (0)