diff options
Diffstat (limited to 'src/test/ui/const-generics/issues/issue-99641.stderr')
-rw-r--r-- | src/test/ui/const-generics/issues/issue-99641.stderr | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/const-generics/issues/issue-99641.stderr b/src/test/ui/const-generics/issues/issue-99641.stderr deleted file mode 100644 index 349ebba08..000000000 --- a/src/test/ui/const-generics/issues/issue-99641.stderr +++ /dev/null @@ -1,15 +0,0 @@ -error[E0741]: using function pointers as const generic parameters is forbidden - --> $DIR/issue-99641.rs:5:35 - | -LL | pub struct Color<const WHITE: (fn(),)>; - | ^^^^^^^ - -error[E0741]: using function pointers as const generic parameters is forbidden - --> $DIR/issue-99641.rs:8:23 - | -LL | impl<const WHITE: (fn(),)> Color<WHITE> { - | ^^^^^^^ - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0741`. |