Both Summary and Buckets accept evaluations to &[f64] (or equivalent type for our purposes), but the code successfully compiles if I add incorrect values for quantiles like -1.0 or 2.0 or negative-valued buckets in histograms.
Ideally, we should emit a compiler error to the user.
Both
SummaryandBucketsaccept evaluations to&[f64](or equivalent type for our purposes), but the code successfully compiles if I add incorrect values for quantiles like-1.0or2.0or negative-valued buckets in histograms.Ideally, we should emit a compiler error to the user.