Skip to content

Commit

Permalink
unused qualifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Pzixel committed Jan 26, 2018
1 parent 6f94c33 commit a2ac86d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ categories = [ "science" ]
license = "MIT/Apache-2.0"
name = "num-derive"
repository = "https://github.com/rust-num/num-derive"
version = "0.1.43"
version = "0.1.44"
readme = "README.md"

[dependencies]
Expand Down
7 changes: 7 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Release 0.1.44

- [The derived code now explicitly allows `unused_qualifications`][9], so users
that globally deny that lint don't encounter an error.

[9]: https://github.com/rust-num/num-derive/pull/9

# Release 0.1.43

- [The derived code now explicitly allows `trivial_numeric_casts`][7], so users
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ pub fn to_primitive(input: TokenStream) -> TokenStream {

let res = quote! {
#[allow(non_upper_case_globals)]
#[allow(unused_qualifications)]
const #dummy_const: () = {
extern crate num as _num;

Expand Down

0 comments on commit a2ac86d

Please sign in to comment.