Home
last modified time | relevance | path

Searched refs:RangeToInclusive (Results 1 – 25 of 254) sorted by relevance

1234567891011

/dports/lang/rust/rustc-1.58.1-src/src/test/ui/range/
H A Dissue-54505-no-literals.stderr124 LL | take_range(std::ops::RangeToInclusive { end: 5 });
127 | expected reference, found struct `RangeToInclusive`
128 | help: consider borrowing here: `&std::ops::RangeToInclusive { end: 5 }`
131 found struct `RangeToInclusive<{integer}>`
136 LL | take_range(::std::ops::RangeToInclusive { end: 5 });
139 | expected reference, found struct `RangeToInclusive`
140 | help: consider borrowing here: `&::std::ops::RangeToInclusive { end: 5 }`
143 found struct `RangeToInclusive<{integer}>`
H A Drange_traits-1.stderr61 error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<us…
67 LL | f: RangeToInclusive<usize>,
68 … `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInc…
70 = help: the trait `PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
128 error[E0277]: the trait bound `std::ops::RangeToInclusive<usize>: Ord` is not satisfied
134 LL | f: RangeToInclusive<usize>,
135 …^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeToInclusive<usize>`
H A Dissue-54505-no-literals.fixed66 take_range(&std::ops::RangeToInclusive { end: 5 });
69 //~| SUGGESTION &std::ops::RangeToInclusive { end: 5 }
71 take_range(&::std::ops::RangeToInclusive { end: 5 });
74 //~| SUGGESTION &::std::ops::RangeToInclusive { end: 5 }
H A Dissue-54505-no-literals.rs66 take_range(std::ops::RangeToInclusive { end: 5 }); in main()
71 take_range(::std::ops::RangeToInclusive { end: 5 }); in main()
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/iterators/
H A Dranges.stderr11 error[E0277]: `RangeToInclusive<{integer}>` is not an iterator
17 = help: the trait `Iterator` is not implemented for `RangeToInclusive<{integer}>`
18 …= note: `..=end` is a `RangeToInclusive`, which cannot be iterated on; you might have meant to hav…
19 …= note: required because of the requirements on the impl of `IntoIterator` for `RangeToInclusive<{…
/dports/lang/rust/rustc-1.58.1-src/src/doc/reference/src/expressions/
H A Drange-expr.md39 | _RangeToInclusiveExpr_ | `..=`end | [std::ops::RangeToInclusive] | x &le; end |
49 ..=7; // std::ops::RangeToInclusive
76 [std::ops::RangeToInclusive]: https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.html
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/parser/
H A Drange_inclusive_dotdotdot.rs3 use std::ops::RangeToInclusive;
5 fn return_range_to() -> RangeToInclusive<i32> { in return_range_to()
/dports/x11/alacritty/alacritty-0.9.0/alacritty_terminal/src/grid/
H A Drow.rs5 use std::ops::{Range, RangeFrom, RangeFull, RangeTo, RangeToInclusive};
272 impl<T> Index<RangeToInclusive<Column>> for Row<T> {
276 fn index(&self, index: RangeToInclusive<Column>) -> &[T] { in index()
281 impl<T> IndexMut<RangeToInclusive<Column>> for Row<T> {
283 fn index_mut(&mut self, index: RangeToInclusive<Column>) -> &mut [T] { in index_mut()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/tests/ui/
H A Dredundant_field_names.rs8 use std::ops::{Range, RangeFrom, RangeInclusive, RangeTo, RangeToInclusive};
60 let _ = RangeToInclusive { end: end }; in main()
/dports/lang/rust/rustc-1.58.1-src/library/core/tests/
H A Dops.rs3 use core::ops::{Bound, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive};
68 let _ = RangeToInclusive { end: 42 }; in test_range_to_inclusive()
197 const RANGE_TO_INCLUSIVE: RangeToInclusive<usize> = ..=999; in range_structural_match()
/dports/devel/sccache/sccache-0.2.15/cargo-crates/bytes-1.0.0/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/net/routinator/routinator-0.10.2/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/www/rearx/rearx-0.1.4/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/lang/rust/rustc-1.58.1-src/vendor/bytes/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/devel/texlab/texlab-3.3.0/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/www/monolith/monolith-2.6.1/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/devel/py-maturin/maturin-0.11.3/cargo-crates/bytes-1.0.1/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
175 RangeToInclusive<usize>
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/bytes-1.1.0/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
182 RangeToInclusive<usize>
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/bytes-1.1.0/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
182 RangeToInclusive<usize>
/dports/lang/gleam/gleam-0.18.2/cargo-crates/bytes-1.1.0/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
182 RangeToInclusive<usize>
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/bytes-1.1.0/src/buf/
H A Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
182 RangeToInclusive<usize>

1234567891011