mirror of
https://github.com/uuid-rs/uuid.git
synced 2025-09-30 06:21:02 +00:00
Merge pull request #586 from uuid-rs/chore/location-tests
Only check diagnostics output on nightly
This commit is contained in:
commit
9215b879e7
@ -145,6 +145,9 @@ version = "0.3"
|
|||||||
[dev-dependencies.trybuild]
|
[dev-dependencies.trybuild]
|
||||||
version = "1.0.52"
|
version = "1.0.52"
|
||||||
|
|
||||||
|
[dev-dependencies.rustversion]
|
||||||
|
version = "1"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dev-dependencies.winapi]
|
[target.'cfg(windows)'.dev-dependencies.winapi]
|
||||||
version = "0.3"
|
version = "0.3"
|
||||||
features = ["combaseapi", "impl-default"]
|
features = ["combaseapi", "impl-default"]
|
||||||
|
@ -18,7 +18,12 @@ license = "Apache-2.0 OR MIT"
|
|||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies.syn]
|
||||||
syn = "1.0.80"
|
version = "1.0.80"
|
||||||
quote = "1.0.10"
|
|
||||||
proc-macro2 = "1.0.29"
|
[dependencies.quote]
|
||||||
|
version = "1.0.10"
|
||||||
|
|
||||||
|
[dependencies.proc-macro2]
|
||||||
|
version = "1.0.29"
|
||||||
|
features = ["span-locations"]
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
#[test]
|
#[test]
|
||||||
fn ui() {
|
fn ui() {
|
||||||
let t = trybuild::TestCases::new();
|
let t = trybuild::TestCases::new();
|
||||||
|
|
||||||
t.pass("tests/ui/compile_pass/*.rs");
|
t.pass("tests/ui/compile_pass/*.rs");
|
||||||
t.compile_fail("tests/ui/compile_fail/*.rs");
|
|
||||||
|
if rustversion::cfg!(nightly) {
|
||||||
|
t.compile_fail("tests/ui/compile_fail/*.rs");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user