Skip to content
This repository was archived by the owner on Oct 10, 2019. It is now read-only.

Commit 6e185c0

Browse files
committed
Update for new nightly
1 parent b986679 commit 6e185c0

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

postgres-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
authors = ["Steven Fackler <[email protected]>"]
55

66
[lib]
7-
rustc-macro = true
7+
proc-macro = true
88
test = false
99

1010
[dependencies]

postgres-derive/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
#![feature(rustc_macro, rustc_macro_lib)]
1+
#![feature(proc_macro, proc_macro_lib)]
22

3-
extern crate rustc_macro;
3+
extern crate proc_macro;
44
extern crate postgres_derive_internals;
55

6-
use rustc_macro::TokenStream;
6+
use proc_macro::TokenStream;
77

8-
#[rustc_macro_derive(ToSql)]
8+
#[proc_macro_derive(ToSql)]
99
pub fn derive_tosql(input: TokenStream) -> TokenStream {
1010
derive("ToSql", input)
1111
}
1212

13-
#[rustc_macro_derive(FromSql)]
13+
#[proc_macro_derive(FromSql)]
1414
pub fn derive_fromsql(input: TokenStream) -> TokenStream {
1515
derive("FromSql", input)
1616
}

postgres-derive/tests/composites.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(rustc_macro)]
1+
#![feature(proc_macro)]
22

33
#[macro_use]
44
extern crate postgres_derive;

postgres-derive/tests/domains.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(rustc_macro)]
1+
#![feature(proc_macro)]
22

33
#[macro_use]
44
extern crate postgres_derive;

postgres-derive/tests/enums.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(rustc_macro)]
1+
#![feature(proc_macro)]
22

33
#[macro_use]
44
extern crate postgres_derive;

0 commit comments

Comments
 (0)