I don't think there's any way right now to find out if some type is e.g. `Sync` without trying to compile code that depends on it.