diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/closure-expected-type/expect-fn-supply-fn-multiple.rs (renamed from src/test/ui/closure-expected-type/expect-fn-supply-fn-multiple.rs) | 0 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/expect-fn-supply-fn.rs (renamed from src/test/ui/closure-expected-type/expect-fn-supply-fn.rs) | 0 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/expect-fn-supply-fn.stderr (renamed from src/test/ui/closure-expected-type/expect-fn-supply-fn.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/expect-infer-var-appearing-twice.rs (renamed from src/test/ui/closure-expected-type/expect-infer-var-appearing-twice.rs) | 0 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/expect-infer-var-appearing-twice.stderr (renamed from src/test/ui/closure-expected-type/expect-infer-var-appearing-twice.stderr) | 0 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/expect-infer-var-supply-ty-with-bound-region.rs (renamed from src/test/ui/closure-expected-type/expect-infer-var-supply-ty-with-bound-region.rs) | 0 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/expect-infer-var-supply-ty-with-free-region.rs (renamed from src/test/ui/closure-expected-type/expect-infer-var-supply-ty-with-free-region.rs) | 0 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.rs (renamed from src/test/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.rs) | 0 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.stderr (renamed from src/test/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.stderr) | 4 | ||||
-rw-r--r-- | tests/ui/closure-expected-type/issue-24421.rs (renamed from src/test/ui/closure-expected-type/issue-24421.rs) | 0 |
10 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/closure-expected-type/expect-fn-supply-fn-multiple.rs b/tests/ui/closure-expected-type/expect-fn-supply-fn-multiple.rs index 5f02e642d..5f02e642d 100644 --- a/src/test/ui/closure-expected-type/expect-fn-supply-fn-multiple.rs +++ b/tests/ui/closure-expected-type/expect-fn-supply-fn-multiple.rs diff --git a/src/test/ui/closure-expected-type/expect-fn-supply-fn.rs b/tests/ui/closure-expected-type/expect-fn-supply-fn.rs index 7f1c14027..7f1c14027 100644 --- a/src/test/ui/closure-expected-type/expect-fn-supply-fn.rs +++ b/tests/ui/closure-expected-type/expect-fn-supply-fn.rs diff --git a/src/test/ui/closure-expected-type/expect-fn-supply-fn.stderr b/tests/ui/closure-expected-type/expect-fn-supply-fn.stderr index e6ddc6068..e6ddc6068 100644 --- a/src/test/ui/closure-expected-type/expect-fn-supply-fn.stderr +++ b/tests/ui/closure-expected-type/expect-fn-supply-fn.stderr diff --git a/src/test/ui/closure-expected-type/expect-infer-var-appearing-twice.rs b/tests/ui/closure-expected-type/expect-infer-var-appearing-twice.rs index e5ec6b271..e5ec6b271 100644 --- a/src/test/ui/closure-expected-type/expect-infer-var-appearing-twice.rs +++ b/tests/ui/closure-expected-type/expect-infer-var-appearing-twice.rs diff --git a/src/test/ui/closure-expected-type/expect-infer-var-appearing-twice.stderr b/tests/ui/closure-expected-type/expect-infer-var-appearing-twice.stderr index 8dccf929b..8dccf929b 100644 --- a/src/test/ui/closure-expected-type/expect-infer-var-appearing-twice.stderr +++ b/tests/ui/closure-expected-type/expect-infer-var-appearing-twice.stderr diff --git a/src/test/ui/closure-expected-type/expect-infer-var-supply-ty-with-bound-region.rs b/tests/ui/closure-expected-type/expect-infer-var-supply-ty-with-bound-region.rs index 0ee738c2c..0ee738c2c 100644 --- a/src/test/ui/closure-expected-type/expect-infer-var-supply-ty-with-bound-region.rs +++ b/tests/ui/closure-expected-type/expect-infer-var-supply-ty-with-bound-region.rs diff --git a/src/test/ui/closure-expected-type/expect-infer-var-supply-ty-with-free-region.rs b/tests/ui/closure-expected-type/expect-infer-var-supply-ty-with-free-region.rs index 15711da4b..15711da4b 100644 --- a/src/test/ui/closure-expected-type/expect-infer-var-supply-ty-with-free-region.rs +++ b/tests/ui/closure-expected-type/expect-infer-var-supply-ty-with-free-region.rs diff --git a/src/test/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.rs b/tests/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.rs index 97d7a51a7..97d7a51a7 100644 --- a/src/test/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.rs +++ b/tests/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.rs diff --git a/src/test/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.stderr b/tests/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.stderr index d5432755c..7a04ed738 100644 --- a/src/test/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.stderr +++ b/tests/ui/closure-expected-type/expect-two-infer-vars-supply-ty-with-bound-region.stderr @@ -6,8 +6,8 @@ LL | with_closure(|x: u32, y| {}); | help: consider giving this closure parameter an explicit type | -LL | with_closure(|x: u32, y: _| {}); - | +++ +LL | with_closure(|x: u32, y: /* Type */| {}); + | ++++++++++++ error: aborting due to previous error diff --git a/src/test/ui/closure-expected-type/issue-24421.rs b/tests/ui/closure-expected-type/issue-24421.rs index 2e104b599..2e104b599 100644 --- a/src/test/ui/closure-expected-type/issue-24421.rs +++ b/tests/ui/closure-expected-type/issue-24421.rs |