summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde_const_on_impl_bound.stderr
blob: f77672f3e71b57576f335aa6bcbf81d4e36adb57 (plain)
1
2
3
4
5
6
7
8
9
10
11
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`.