1
Fork 0

Fix call-generic-method-nonconst test

This commit is contained in:
Deadbeef 2021-07-26 12:06:55 +08:00
parent 7106f8d8ee
commit 6b6ad781f8
No known key found for this signature in database
GPG key ID: 027DF9338862ADDD
3 changed files with 20 additions and 4 deletions

View file

@ -1,7 +1,5 @@
// FIXME(jschievink): this is not rejected correctly (only when the non-const impl is actually used)
// ignore-test
#![feature(const_trait_impl)]
#![feature(const_fn_trait_bound)]
struct S;