2020-09-11 14:16:16 -05:00
|
|
|
// aux-build:const_evaluatable_lib.rs
|
2021-08-27 11:04:57 -05:00
|
|
|
#![feature(generic_const_exprs)]
|
2020-09-11 14:16:16 -05:00
|
|
|
#![allow(incomplete_features)]
|
|
|
|
extern crate const_evaluatable_lib;
|
|
|
|
|
|
|
|
fn user<T>() {
|
|
|
|
let _ = const_evaluatable_lib::test1::<T>();
|
2020-09-28 12:44:23 -05:00
|
|
|
//~^ ERROR unconstrained generic constant
|
|
|
|
//~| ERROR unconstrained generic constant
|
|
|
|
//~| ERROR unconstrained generic constant
|
|
|
|
//~| ERROR unconstrained generic constant
|
2020-09-11 14:16:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|