diesel-rs/diesel

"Identifier" column in table macro results in "Missing lifetime specifier"

Open

#1651 opened on Apr 20, 2018

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Rust (12,054 stars) (1,003 forks)batch import
documentationhelp wanted

Description

I was able to fix this using #[sql_name=“...”] but the error is not clear about what's really going on, and I found sql_name by searching through tickets, not through official documentation.

This seems like the sort of thing someone could get stuck on.

It was Nullable type if relevant.

Contributor guide