#![feature(adt_const_params)] #![allow(incomplete_features)] fn main() { pub struct Color; //~^ ERROR using function pointers impl Color { //~^ ERROR using function pointers pub fn new() -> Self { Color:: } } pub const D65: (fn(),) = (|| {},); Color::::new(); }