You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
2
-
--> $DIR/apit.rs:1:12
3
-
|
4
-
LL | #![feature(precise_capturing)]
5
-
| ^^^^^^^^^^^^^^^^^
6
-
|
7
-
= note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
8
-
= note: `#[warn(incomplete_features)]` on by default
9
-
10
1
error: `use<...>` precise capturing syntax not allowed in argument-position `impl Trait`
11
-
--> $DIR/apit.rs:4:26
2
+
--> $DIR/apit.rs:3:26
12
3
|
13
4
LL | fn hello(_: impl Sized + use<>) {}
14
5
| ^^^^^
15
6
16
-
error: aborting due to 1 previous error; 1 warning emitted
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
22
-
--> $DIR/bad-lifetimes.rs:1:12
23
-
|
24
-
LL | #![feature(precise_capturing)]
25
-
| ^^^^^^^^^^^^^^^^^
26
-
|
27
-
= note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
28
-
= note: `#[warn(incomplete_features)]` on by default
29
-
30
21
error: expected lifetime parameter in `use<...>` precise captures list, found `'_`
31
-
--> $DIR/bad-lifetimes.rs:4:39
22
+
--> $DIR/bad-lifetimes.rs:3:39
32
23
|
33
24
LL | fn no_elided_lt() -> impl Sized + use<'_> {}
34
25
| ^^
35
26
36
27
error: expected lifetime parameter in `use<...>` precise captures list, found `'static`
| ------------ ^^^^ `Self` is only available in impls, traits, and type definitions
17
17
| |
18
18
| `Self` not allowed in a function
19
19
20
-
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
21
-
--> $DIR/bad-params.rs:1:12
22
-
|
23
-
LL | #![feature(precise_capturing)]
24
-
| ^^^^^^^^^^^^^^^^^
25
-
|
26
-
= note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
27
-
= note: `#[warn(incomplete_features)]` on by default
28
-
29
20
error: `Self` can't be captured in `use<...>` precise captures list, since it is an alias
30
-
--> $DIR/bad-params.rs:12:48
21
+
--> $DIR/bad-params.rs:11:48
31
22
|
32
23
LL | impl MyType {
33
24
| ----------- `Self` is not a generic argument, but an alias to the type of the implementation
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
2
-
--> $DIR/capture-parent-arg.rs:1:12
3
-
|
4
-
LL | #![feature(precise_capturing)]
5
-
| ^^^^^^^^^^^^^^^^^
6
-
|
7
-
= note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
8
-
= note: `#[warn(incomplete_features)]` on by default
9
-
10
1
error: `impl Trait` captures lifetime parameter, but it is not mentioned in `use<...>` precise captures list
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
8
-
--> $DIR/duplicated-use.rs:4:12
9
-
|
10
-
LL | #![feature(precise_capturing)]
11
-
| ^^^^^^^^^^^^^^^^^
12
-
|
13
-
= note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
14
-
= note: `#[warn(incomplete_features)]` on by default
15
-
16
-
error: aborting due to 1 previous error; 1 warning emitted
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
2
-
--> $DIR/forgot-to-capture-const.rs:1:12
3
-
|
4
-
LL | #![feature(precise_capturing)]
5
-
| ^^^^^^^^^^^^^^^^^
6
-
|
7
-
= note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
8
-
= note: `#[warn(incomplete_features)]` on by default
9
-
10
1
error: `impl Trait` must mention all const parameters in scope in `use<...>`
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
2
-
--> $DIR/forgot-to-capture-lifetime.rs:1:12
3
-
|
4
-
LL | #![feature(precise_capturing)]
5
-
| ^^^^^^^^^^^^^^^^^
6
-
|
7
-
= note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
8
-
= note: `#[warn(incomplete_features)]` on by default
9
-
10
1
error: `impl Trait` captures lifetime parameter, but it is not mentioned in `use<...>` precise captures list
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
2
-
--> $DIR/forgot-to-capture-type.rs:1:12
3
-
|
4
-
LL | #![feature(precise_capturing)]
5
-
| ^^^^^^^^^^^^^^^^^
6
-
|
7
-
= note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
8
-
= note: `#[warn(incomplete_features)]` on by default
9
-
10
1
error: `impl Trait` must mention all type parameters in scope in `use<...>`
0 commit comments