File: disable-broken-tests.patch

package info (click to toggle)
rust-tracing-attributes 0.1.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 540 kB
  • sloc: makefile: 2
file content (32 lines) | stat: -rw-r--r-- 813 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Index: tracing-attributes/Cargo.toml
===================================================================
--- tracing-attributes.orig/Cargo.toml
+++ tracing-attributes/Cargo.toml
@@ -74,10 +74,6 @@ name = "err"
 path = "tests/err.rs"
 
 [[test]]
-name = "fields"
-path = "tests/fields.rs"
-
-[[test]]
 name = "follows_from"
 path = "tests/follows_from.rs"
 
Index: tracing-attributes/tests/ui/pass/type_shadowing.rs
===================================================================
--- tracing-attributes.orig/tests/ui/pass/type_shadowing.rs
+++ tracing-attributes/tests/ui/pass/type_shadowing.rs
@@ -8,10 +8,10 @@ enum Bar {
     Foo,
 }
 
-#[tracing::instrument]
+/*#[tracing::instrument]
 fn this_is_fine() -> Foo {
     // glob import imports Bar::Foo, shadowing Foo
     use Bar::*;
-}
+}*/
 
 fn main() {}