Skip to content

Commit 4151de4

Browse files
author
Alexander Regueiro
committed
Updated stderr test files.
1 parent 6bf1aa6 commit 4151de4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/test/ui/feature-gates/feature-gate-self_in_typedefs.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ error[E0411]: cannot find type `Self` in this scope
33
|
44
LL | Cons(T, &'a Self)
55
| ^^^^ `Self` is only available in traits and impls
6+
|
7+
= help: add #![feature(self_in_typedefs)] to the crate attributes to enable
68

79
error: aborting due to previous error
810

src/test/ui/inference/inference_unstable.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | assert_eq!('x'.ipu_flatten(), 1);
88
= warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior!
99
= note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
1010
= help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_flatten(...)` to keep using the current method
11-
= note: add #![feature(ipu_flatten)] to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_flatten`
11+
= help: add #![feature(ipu_flatten)] to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_flatten`
1212

0 commit comments

Comments
 (0)