Diesel: Use compile_error!

Created on 1 Sep 2017  ·  4Comments  ·  Source: diesel-rs/diesel

Most helpful comment

Diesel CLI and Infer Schema should also use this in the places they currently fail to compile when built with 0 features.

All 4 comments

@killercup - I'd like to tackle this issue. I think I may be able to also solve #624 while doing this?

@notryanb it's yours!

624 might be a bit more tricky. Do you have a good idea how to solve it? I could only come up with one medium and one hard way… (see https://github.com/diesel-rs/diesel/issues/624#issuecomment-326586831)

👍 I'll look into #624 separately.

Diesel CLI and Infer Schema should also use this in the places they currently fail to compile when built with 0 features.

Was this page helpful?
0 / 5 - 0 ratings