Skip to content

Commit 35f8464

Browse files
committed
Strip column name attribute from syntex
For some reason updating syntex is erroring on the unknown attribute now
1 parent 0c3c763 commit 35f8464

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diesel_codegen/src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub fn strip_attributes(krate: ast::Crate) -> ast::Crate {
7474

7575
impl fold::Folder for StripAttributeFolder {
7676
fn fold_attribute(&mut self, attr: ast::Attribute) -> Option<ast::Attribute> {
77-
if attr.check_name("table_name") {
77+
if attr.check_name("table_name") || attr.check_name("column_name") {
7878
None
7979
} else {
8080
Some(attr)

0 commit comments

Comments
 (0)