1 // Test that we can't declare a const fn in an impl -- right now it's
2 // just not allowed at all, though eventually it'd make sense to allow
3 // it if the trait fn is const (but right now no trait fns can be
14 //~^ ERROR functions in traits cannot be declared const