File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
src/tools/compiletest/src
tests/ui/traits/non_lifetime_binders Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1549,7 +1549,7 @@ pub(crate) mod builtin {
15491549 /// NAME is a string that represents a valid function name.
15501550 /// MODE is any of Forward, Reverse, ForwardFirst, ReverseFirst.
15511551 /// INPUT_ACTIVITIES consists of one valid activity for each input parameter.
1552- /// OUTPUT_ACTIVITY must not be set if we implicitely return nothing (or explicitely return
1552+ /// OUTPUT_ACTIVITY must not be set if we implicitly return nothing (or explicitly return
15531553 /// `-> ()`). Otherwise it must be set to one of the allowed activities.
15541554 #[ unstable( feature = "autodiff" , issue = "124509" ) ]
15551555 #[ allow_internal_unstable( rustc_attrs) ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ impl [u8] {
88 /// Creates an iterator over the contiguous valid UTF-8 ranges of this
99 /// slice, and the non-UTF-8 fragments in between.
1010 ///
11- /// See the [`Utf8Chunk`] type for documenation of the items yielded by this iterator.
11+ /// See the [`Utf8Chunk`] type for documentation of the items yielded by this iterator.
1212 ///
1313 /// # Examples
1414 ///
@@ -150,7 +150,7 @@ impl fmt::Debug for Debug<'_> {
150150/// If you want a simple conversion from UTF-8 byte slices to string slices,
151151/// [`from_utf8`] is easier to use.
152152///
153- /// See the [`Utf8Chunk`] type for documenation of the items yielded by this iterator.
153+ /// See the [`Utf8Chunk`] type for documentation of the items yielded by this iterator.
154154///
155155/// [byteslice]: slice
156156/// [`from_utf8`]: super::from_utf8
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ fn test_reverse_on_zip() {
255255
256256 let zipped_iter = vec_1. iter ( ) . zip ( core:: iter:: repeat ( 0 ) . take ( 20 ) ) ;
257257
258- // Cannot call rev here for automatic reversed zip constuction
258+ // Cannot call rev here for automatic reversed zip construction
259259 for ( & one, zero) in zipped_iter. rev ( ) {
260260 assert_eq ! ( ( 1 , 0 ) , ( one, zero) ) ;
261261 }
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ impl ProcOutput {
9090 . count ( ) ;
9191 * filtered_len -= matches * path_bytes. len ( ) ;
9292
93- // We can't just remove the length of the filtered path from the output lenght ,
93+ // We can't just remove the length of the filtered path from the output length ,
9494 // otherwise a compiler emitting only filtered paths would OOM compiletest. Add
9595 // a fixed placeholder length for each path to prevent that.
9696 * filtered_len += matches * FILTERED_PATHS_PLACEHOLDER_LEN ;
Original file line number Diff line number Diff line change 11//@ check-pass
2- // Basic test that show's we can succesfully typeck a `for<T>` where clause.
2+ // Basic test that show's we can successfully typeck a `for<T>` where clause.
33
44#![ feature( non_lifetime_binders) ]
55//~^ WARN the feature `non_lifetime_binders` is incomplete
You can’t perform that action at this time.
0 commit comments