]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/rfc-2632-const-trait-impl/specializing-constness-2.stderr
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / ui / rfc-2632-const-trait-impl / specializing-constness-2.stderr
index c554671e18d8261a9f813824ae3b295d2b4407cc..8923416f4c77bb93ad05e394a8de5d1caf6da6aa 100644 (file)
@@ -8,7 +8,9 @@ note: required for `T` to implement `~const A`
   --> $DIR/specializing-constness-2.rs:20:37
    |
 LL | impl<T: Default + ~const Sup> const A for T {
-   |                                     ^     ^
+   |                   ----------        ^     ^
+   |                   |
+   |                   unsatisfied trait bound introduced here
 help: consider further restricting this bound
    |
 LL | const fn generic<T: Default + ~const Sup>() {