Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
macpp committed Mar 10, 2019
1 parent 24bba68 commit 422b11f
Show file tree
Hide file tree
Showing 69 changed files with 193 additions and 192 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Expand Up @@ -40,7 +40,7 @@ Next, add this to your crate:

[source,rust]
----
#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]
extern crate chrono;
extern crate postgres;
Expand Down Expand Up @@ -148,7 +148,7 @@ First, remove these lines:

[source,rust]
----
#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]
// …
Expand Down
2 changes: 1 addition & 1 deletion examples/chat/src/main.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate chrono;
extern crate handlebars_iron as hbs;
Expand Down
2 changes: 1 addition & 1 deletion examples/todo/src/main.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate chrono;
extern crate postgres;
Expand Down
2 changes: 1 addition & 1 deletion tests/aggregate_expr.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/connection_expr.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/create_expr.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate chrono;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/delete.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/delete_expr.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/drop_expr.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/insert_expr.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/module.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/postgres-tests/tests/aggregate.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate postgres;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/postgres-tests/tests/create.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate chrono;
extern crate postgres;
Expand Down
2 changes: 1 addition & 1 deletion tests/postgres-tests/tests/insert.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate postgres;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/postgres-tests/tests/select.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate chrono;
extern crate postgres;
Expand Down
2 changes: 1 addition & 1 deletion tests/select_expr.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro, proc_macro_non_items)]
#![feature(proc_macro_hygiene)]

macro_rules! let_vec {
( $($name:ident),* = $vector:ident ) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/sqlite-tests/tests/aggregate.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate rusqlite;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/sqlite-tests/tests/create.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate chrono;
extern crate rusqlite;
Expand Down
2 changes: 1 addition & 1 deletion tests/sqlite-tests/tests/insert.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate rusqlite;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/sqlite-tests/tests/select.rs
Expand Up @@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate chrono;
extern crate rusqlite;
Expand Down
2 changes: 1 addition & 1 deletion tests/sqlite-ui-tests/tests/ui/select.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the methods related to `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate rusqlite;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/aggregate.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the aggregate() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/aggregate_gen.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the type analyzer lint for a `Query::Aggregate`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/aggregate_syntax.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the aggregate() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/delete.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the delete() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/delete_expr.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the type analyzer lint for a `Query::Delete`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/delete_syntax.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the delete() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/insert.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the insert() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/insert_expr.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the type analyzer lint for a `Query::Insert`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/insert_missing_fields.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the insert() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate postgres;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/insert_syntax.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the insert() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/macro.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the macro.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/methods.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the methods available in the filter() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate chrono;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/methods_expr.rs
Expand Up @@ -22,7 +22,7 @@
//! Tests of the type analyzer lint for a `Query::Select` using the methods available in the
//! filter() method.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/parse.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the methods related to `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/select.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the methods related to `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/select_expr.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the type analyzer lint for a `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/select_fk.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the methods related to `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate postgres;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/select_gen.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the generated code for a `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/select_join.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the methods related to `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate postgres;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/select_macro.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the methods related to `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate tql;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/select_syntax.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the methods related to `Query::Select`.

#![feature(proc_macro)]
#![feature(proc_macro_hygiene)]

extern crate postgres;
extern crate tql;
Expand Down
2 changes: 1 addition & 1 deletion tests/testcrate/tests/ui/sql_table.rs
Expand Up @@ -21,7 +21,7 @@

//! Tests of the `#[SqlTable]` attribute.

#![feature(proc_macro)] // FIXME: bad span for field nested_options in stderr (should be on Option<String>, not just Option).
#![feature(proc_macro_hygiene)] // FIXME: bad span for field nested_options in stderr (should be on Option<String>, not just Option).

#[macro_use]
extern crate tql_macros;
Expand Down

0 comments on commit 422b11f

Please sign in to comment.