Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Silence diesel warnings which would be fixed in diesel-1.4 #36

Merged
merged 1 commit into from
Oct 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions burning-pro-server/src/db/upsert_entry.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
//! Types for upsert query.

// Temporal silence until diesel-1.4.
// See </~https://github.com/diesel-rs/diesel/issues/1785#issuecomment-422579609>.
#![allow(proc_macro_derive_resolution_fallback)]

use actix::prelude::*;
use chrono::{DateTime, Local};
use diesel;
Expand Down
5 changes: 5 additions & 0 deletions burning-pro-server/src/models/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
//! Models.

// Temporal silence until diesel-1.4.
// See </~https://github.com/diesel-rs/diesel/issues/1785#issuecomment-422579609>.
#![allow(proc_macro_derive_resolution_fallback)]

use chrono::NaiveDateTime;

use schema::*;
Expand Down
4 changes: 4 additions & 0 deletions burning-pro-server/src/models/update.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
//! Data types insertable to DB.

// Temporal silence until diesel-1.4.
// See </~https://github.com/diesel-rs/diesel/issues/1785#issuecomment-422579609>.
#![allow(proc_macro_derive_resolution_fallback)]

use chrono::NaiveDateTime;

use schema::*;
Expand Down
4 changes: 4 additions & 0 deletions burning-pro-server/src/schema.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Temporal silence until diesel-1.4.
// See </~https://github.com/diesel-rs/diesel/issues/1785#issuecomment-422579609>.
#![allow(proc_macro_derive_resolution_fallback)]

table! {
good_phrase_tags (good_phrase_tag_id) {
good_phrase_tag_id -> Integer,
Expand Down