Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d34b0fa
Add test for method on unbounded type parameter receiver
estebank Jan 26, 2024
20b1c2a
Account for unbounded type param receiver in suggestions
estebank Jan 26, 2024
9ccc770
fix rebase
estebank Jan 30, 2024
5c41409
Account for non-overlapping unmet trait bounds in suggestion
estebank Jan 30, 2024
471af8c
riscv only supports split_debuginfo=off for now
kxxt Jan 31, 2024
0f55e1b
Simplify `impl_zeroable_primitive` macro.
reitermarkus Jan 31, 2024
a5042de
Make `NonZero` constructors generic.
reitermarkus Jan 22, 2024
3cc601a
Switch OwnedStore handle count to AtomicU32
GnomedDev Jan 31, 2024
30e7b87
miri: normalize struct tail in ABI compat check
Feb 2, 2024
a2a3c61
Already poison the `type_of` result of the anon const used in the `ty…
oli-obk Feb 1, 2024
009f970
inline a function that is only used in clippy
oli-obk Feb 1, 2024
0c4d089
Taint borrowck results without running any borrowck if the MIR body w…
oli-obk Feb 1, 2024
0f3976b
Continue to borrowck even if there were previous errors
oli-obk Feb 1, 2024
6b2a824
Remove dead args from functions
compiler-errors Feb 2, 2024
a27e45a
fix #120603 by adding a check in default_read_buf
conradludgate Feb 3, 2024
4c694db
add another test to make sure it still works with full reads
conradludgate Feb 3, 2024
d678226
Rollup merge of #120507 - estebank:issue-108428, r=davidtwco
matthiaskrgr Feb 4, 2024
a78ead4
Rollup merge of #120518 - kxxt:riscv-split-debug-info, r=compiler-errors
matthiaskrgr Feb 4, 2024
f1a744a
Rollup merge of #120521 - reitermarkus:generic-nonzero-constructors, …
matthiaskrgr Feb 4, 2024
8520915
Rollup merge of #120527 - GnomedDev:atomicu32-handle, r=petrochenkov
matthiaskrgr Feb 4, 2024
6a864ed
Rollup merge of #120550 - oli-obk:track_errors8, r=estebank
matthiaskrgr Feb 4, 2024
199206f
Rollup merge of #120587 - lukas-code:miri-tail-normalize, r=RalfJung
matthiaskrgr Feb 4, 2024
dc1f20a
Rollup merge of #120590 - compiler-errors:dead, r=Nilstrieb
matthiaskrgr Feb 4, 2024
c168f17
Rollup merge of #120607 - conradludgate:fix-120603, r=dtolnay
matthiaskrgr Feb 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix rebase
  • Loading branch information
estebank committed Jan 30, 2024
commit 9ccc77036a144cc0d172c28e48c330d544ae5471
17 changes: 4 additions & 13 deletions tests/ui/traits/method-on-unbounded-type-param.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,11 @@ LL | fn h<T>(a: &T, b: T) -> std::cmp::Ordering where T: Iterator, T: Ord {
error[E0599]: the method `cmp` exists for struct `Box<dyn T>`, but its trait bounds were not satisfied
--> $DIR/method-on-unbounded-type-param.rs:14:7
|
LL | trait T {}
| -------
| |
| doesn't satisfy `dyn T: Iterator`
| doesn't satisfy `dyn T: Ord`
LL | trait T {}
| ------- doesn't satisfy `dyn T: Iterator` or `dyn T: Ord`
...
LL | x.cmp(&x);
| ^^^ method cannot be called on `Box<dyn T>` due to unsatisfied trait bounds
--> $SRC_DIR/alloc/src/boxed.rs:LL:COL
::: $SRC_DIR/alloc/src/boxed.rs:LL:COL
|
= note: doesn't satisfy `Box<dyn T>: Iterator`
|
= note: doesn't satisfy `Box<dyn T>: Ord`
LL | x.cmp(&x);
| ^^^ method cannot be called on `Box<dyn T>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`dyn T: Iterator`
Expand Down