Repro: static assert(is(ImplicitConversionTargets!(const A) == const Object)); Fails because ImplicitConversionTargets!(const A) is nonconst Object. "Caused" by the PR https://github.com/dlang/phobos/pull/7313 for 15940 - previously, ImplicitConversionTargets for const classes would not give any result.
@FeepingCreature created dlang/phobos pull request #7452 "Fix/issue 20755 implicitconversiontargets const class" fixing this issue: - Fix issue 20755: keep constness in ImplicitConversionTargets!(const/immutable class) https://github.com/dlang/phobos/pull/7452
dlang/phobos pull request #7452 "Fix/issue 20755 implicitconversiontargets const class" was merged into master: - cc8537110e2d7538abe3b59048afd1fc582adb95 by Mathis Beer: Fix issue 20755: keep constness in ImplicitConversionTargets!(const/immutable class) https://github.com/dlang/phobos/pull/7452