Skip to content

Commit 13e4f87

Browse files
authored
Rollup merge of #98530 - davidkna:known-bug-ref, r=Mark-Simulacrum
compiletest: add issue number param to `known-bug` I was getting some errors while testing this, but I'm pretty sure that was unrelated to my changes. Closes #98436 > Basically, instead of `// known-bug`, do `// known-bug #00000` or maybe `// known-bug chalk#00`? > > From: https://rust-lang.zulipchat.com/#narrow/stream/326866-t-types.2Fnominated/topic/.2398095.3A.20NLL.3A.20unsound.20verification.20of.20higher.20ranked.20outlives.E2.80.A6/near/287258738 I also added an `unknown` escape-hatch because I didn't find corresponding issues for every `// known-bug`. The syntax also ended up being `// known-bug: `, because of `set_name_value_directive`.
2 parents 43dd0e2 + 93d3359 commit 13e4f87

File tree

17 files changed

+39
-17
lines changed

17 files changed

+39
-17
lines changed

src/test/ui/chalkify/bugs/async.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: unknown
33
// compile-flags: -Z chalk --edition=2021
44

55
fn main() -> () {}

src/test/ui/generic-associated-types/bugs/issue-80626.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #80626
33

44
// This should pass, but it requires `Sized` to be coinductive.
55

src/test/ui/generic-associated-types/bugs/issue-86218.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #86218
33

44
// This should pass, but seems to run into a TAIT issue.
55

src/test/ui/generic-associated-types/bugs/issue-87735.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #87735, #88526
33

44
// This should pass, but we need an extension of implied bounds (probably).
55

src/test/ui/generic-associated-types/bugs/issue-87748.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #87748
33

44
// This should pass, but unnormalized input args aren't treated as implied.
55

src/test/ui/generic-associated-types/bugs/issue-87755.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #87755
33

44
// This should pass.
55

src/test/ui/generic-associated-types/bugs/issue-87803.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #87803
33

44
// This should pass, but using a type alias vs a reference directly
55
// changes late-bound -> early-bound.

src/test/ui/generic-associated-types/bugs/issue-88382.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #88382
33

44
// This should pass, but has a missed normalization due to HRTB.
55

src/test/ui/generic-associated-types/bugs/issue-88460.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #88460
33

44
// This should pass, but has a missed normalization due to HRTB.
55

src/test/ui/generic-associated-types/bugs/issue-88526.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-fail
2-
// known-bug
2+
// known-bug: #88526
33

44
// This should pass, but requires more logic.
55

0 commit comments

Comments
 (0)