summaryrefslogtreecommitdiffstats
path: root/tests/ui/lazy-type-alias/leading-where-clause.stderr
blob: 8ddf0ce6c65583117d53eca35c9b0368293763b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: where clauses are not allowed before the type for type aliases
  --> $DIR/leading-where-clause.rs:9:1
   |
LL | / where
LL | |     String: From<T>,
   | |____________________^
   |
   = note: see issue #89122 <https://github.com/rust-lang/rust/issues/89122> for more information
help: move it to the end of the type declaration
   |
LL + 
LL ~ = T where String: From<T>;
   |

error: aborting due to previous error