Support incremental in compiletest for non-incremental modes.
This commit is contained in:
parent
0132f8258a
commit
2da6e66948
38 changed files with 179 additions and 132 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// check-pass
|
||||
// compile-flags:-Cincremental=tmp/traits-assoc-type-macros
|
||||
// incremental
|
||||
|
||||
// This test case makes sure that we can compile with incremental compilation
|
||||
// enabled when there are macros, traits, inheritance and associated types involved.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// edition:2018
|
||||
// compile-flags:-Cincremental=tmp/issue-72442
|
||||
// incremental
|
||||
|
||||
use std::fs::File;
|
||||
use std::future::Future;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
// check-pass
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/issue-64964
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// edition:2018
|
||||
|
||||
// Regression test for ICE related to `await`ing in a method + incr. comp. (#64964)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
// Test that when a trait impl changes, fns whose body uses that trait
|
||||
// must also be recompiled.
|
||||
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/dep-graph-assoc-type-codegen
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(warnings)]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
error: OK
|
||||
--> $DIR/dep-graph-assoc-type-codegen.rs:28:5
|
||||
--> $DIR/dep-graph-assoc-type-codegen.rs:29:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
// Test that immediate callers have to change when callee changes, but
|
||||
// not callers' callers.
|
||||
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/dep-graph-caller-callee
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(dead_code)]
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
error: OK
|
||||
--> $DIR/dep-graph-caller-callee.rs:20:5
|
||||
--> $DIR/dep-graph-caller-callee.rs:21:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `x` to `typeck`
|
||||
--> $DIR/dep-graph-caller-callee.rs:31:5
|
||||
--> $DIR/dep-graph-caller-callee.rs:32:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
// Test cases where a changing struct appears in the signature of fns
|
||||
// and methods.
|
||||
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/dep-graph-struct-signature
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(dead_code)]
|
||||
|
|
|
|||
|
|
@ -1,131 +1,131 @@
|
|||
error: no path from `WillChange` to `type_of`
|
||||
--> $DIR/dep-graph-struct-signature.rs:27:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:28:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `WillChange` to `associated_item`
|
||||
--> $DIR/dep-graph-struct-signature.rs:28:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:29:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(associated_item)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `WillChange` to `trait_def`
|
||||
--> $DIR/dep-graph-struct-signature.rs:29:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:30:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(trait_def)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:31:9
|
||||
--> $DIR/dep-graph-struct-signature.rs:32:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:35:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:36:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:39:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:37:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:40:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:41:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:45:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:46:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:47:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:48:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:49:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:52:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:53:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:54:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:55:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:56:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:60:9
|
||||
--> $DIR/dep-graph-struct-signature.rs:61:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-struct-signature.rs:62:9
|
||||
--> $DIR/dep-graph-struct-signature.rs:63:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `WillChange` to `type_of`
|
||||
--> $DIR/dep-graph-struct-signature.rs:67:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:68:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `WillChange` to `type_of`
|
||||
--> $DIR/dep-graph-struct-signature.rs:74:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:75:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `WillChange` to `fn_sig`
|
||||
--> $DIR/dep-graph-struct-signature.rs:76:9
|
||||
--> $DIR/dep-graph-struct-signature.rs:77:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `WillChange` to `fn_sig`
|
||||
--> $DIR/dep-graph-struct-signature.rs:80:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:81:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `WillChange` to `fn_sig`
|
||||
--> $DIR/dep-graph-struct-signature.rs:83:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:84:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `WillChange` to `typeck`
|
||||
--> $DIR/dep-graph-struct-signature.rs:84:5
|
||||
--> $DIR/dep-graph-struct-signature.rs:85:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
// Test that adding an impl to a trait `Foo` DOES affect functions
|
||||
// that only use `Bar` if they have methods in common.
|
||||
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/dep-graph-trait-impl-two-traits-same-method
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(dead_code)]
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
error: OK
|
||||
--> $DIR/dep-graph-trait-impl-two-traits-same-method.rs:32:5
|
||||
--> $DIR/dep-graph-trait-impl-two-traits-same-method.rs:33:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `x::<impl Foo for u32>` to `typeck`
|
||||
--> $DIR/dep-graph-trait-impl-two-traits-same-method.rs:41:5
|
||||
--> $DIR/dep-graph-trait-impl-two-traits-same-method.rs:42:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
// Test that adding an impl to a trait `Foo` does not affect functions
|
||||
// that only use `Bar`, so long as they do not have methods in common.
|
||||
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/dep-graph-trait-impl-two-traits
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(warnings)]
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
error: no path from `x::<impl Foo for char>` to `typeck`
|
||||
--> $DIR/dep-graph-trait-impl-two-traits.rs:31:5
|
||||
--> $DIR/dep-graph-trait-impl-two-traits.rs:32:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `x::<impl Foo for char>` to `typeck`
|
||||
--> $DIR/dep-graph-trait-impl-two-traits.rs:40:5
|
||||
--> $DIR/dep-graph-trait-impl-two-traits.rs:41:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
// Test that when a trait impl changes, fns whose body uses that trait
|
||||
// must also be recompiled.
|
||||
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/dep-graph-trait-impl
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(warnings)]
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
error: OK
|
||||
--> $DIR/dep-graph-trait-impl.rs:27:5
|
||||
--> $DIR/dep-graph-trait-impl.rs:28:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-trait-impl.rs:32:5
|
||||
--> $DIR/dep-graph-trait-impl.rs:33:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-trait-impl.rs:37:5
|
||||
--> $DIR/dep-graph-trait-impl.rs:38:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-trait-impl.rs:42:5
|
||||
--> $DIR/dep-graph-trait-impl.rs:43:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `x::<impl Foo for char>` to `typeck`
|
||||
--> $DIR/dep-graph-trait-impl.rs:55:5
|
||||
--> $DIR/dep-graph-trait-impl.rs:56:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
// Test that changing what a `type` points to does not go unnoticed.
|
||||
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/dep-graph-type-alias
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(dead_code)]
|
||||
|
|
|
|||
|
|
@ -1,71 +1,71 @@
|
|||
error: no path from `TypeAlias` to `type_of`
|
||||
--> $DIR/dep-graph-type-alias.rs:17:1
|
||||
--> $DIR/dep-graph-type-alias.rs:18:1
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-type-alias.rs:19:5
|
||||
--> $DIR/dep-graph-type-alias.rs:20:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `TypeAlias` to `type_of`
|
||||
--> $DIR/dep-graph-type-alias.rs:24:1
|
||||
--> $DIR/dep-graph-type-alias.rs:25:1
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-type-alias.rs:27:9
|
||||
--> $DIR/dep-graph-type-alias.rs:28:9
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `TypeAlias` to `type_of`
|
||||
--> $DIR/dep-graph-type-alias.rs:33:1
|
||||
--> $DIR/dep-graph-type-alias.rs:34:1
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-type-alias.rs:35:5
|
||||
--> $DIR/dep-graph-type-alias.rs:36:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: no path from `TypeAlias` to `type_of`
|
||||
--> $DIR/dep-graph-type-alias.rs:41:1
|
||||
--> $DIR/dep-graph-type-alias.rs:42:1
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-type-alias.rs:43:5
|
||||
--> $DIR/dep-graph-type-alias.rs:44:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-type-alias.rs:44:5
|
||||
--> $DIR/dep-graph-type-alias.rs:45:5
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-type-alias.rs:48:1
|
||||
--> $DIR/dep-graph-type-alias.rs:49:1
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(type_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-type-alias.rs:51:1
|
||||
--> $DIR/dep-graph-type-alias.rs:52:1
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(fn_sig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: OK
|
||||
--> $DIR/dep-graph-type-alias.rs:52:1
|
||||
--> $DIR/dep-graph-type-alias.rs:53:1
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(typeck)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
// Test that changing what a `type` points to does not go unnoticed
|
||||
// by the variance analysis.
|
||||
|
||||
// compile-flags: -Z query-dep-graph -C incremental=tmp/dep-graph-variance-alias
|
||||
// incremental
|
||||
// compile-flags: -Z query-dep-graph
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![allow(dead_code)]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
error: OK
|
||||
--> $DIR/dep-graph-variance-alias.rs:18:1
|
||||
--> $DIR/dep-graph-variance-alias.rs:19:1
|
||||
|
|
||||
LL | #[rustc_then_this_would_need(variances_of)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// edition:2018
|
||||
// compile-flags: -Cincremental=tmp/issue-72766
|
||||
// incremental
|
||||
|
||||
pub struct SadGirl;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Regression test for #87549.
|
||||
// compile-flags: -C incremental=tmp/wf/hir-wf-check-erase-regions
|
||||
// incremental
|
||||
|
||||
pub struct Table<T, const N: usize>([Option<T>; N]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue