diff options
Diffstat (limited to 'tests/ui/rfcs/rfc-2632-const-trait-impl/tilde_const_on_impl_bound.stderr')
-rw-r--r-- | tests/ui/rfcs/rfc-2632-const-trait-impl/tilde_const_on_impl_bound.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde_const_on_impl_bound.stderr b/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde_const_on_impl_bound.stderr new file mode 100644 index 000000000..f77672f3e --- /dev/null +++ b/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde_const_on_impl_bound.stderr @@ -0,0 +1,12 @@ +error[E0308]: mismatched types + --> $DIR/tilde_const_on_impl_bound.rs:14:9 + | +LL | self.0.foo() + | ^^^^^^^^^^^^ expected `host`, found `true` + | + = note: expected constant `host` + found constant `true` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0308`. |