Comments (3)
marco?
proco!
from rust.
WG-prioritization assigning priority (Zulip discussion).
@rustbot label -I-prioritize +P-medium
from rust.
Had a similar regression bisected to 1ca424c
Example
Before:
error[E0277]: `{integer}` is not an iterator
--> tests/compile-fail/surface_source_iter_badtype.rs:5:21
|
5 | source_iter(5) -> for_each(std::mem::drop);
| ------------^-
| | |
| | `{integer}` is not an iterator
| required by a bound introduced by this call
|
= help: the trait `Iterator` is not implemented for `{integer}`, which is required by `{integer}: IntoIterator`
= note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end`
= note: required for `{integer}` to implement `IntoIterator`
note: required by a bound in `check_iter`
--> tests/compile-fail/surface_source_iter_badtype.rs:5:9
|
5 | source_iter(5) -> for_each(std::mem::drop);
| ^^^^^^^^^^^^^^ required by this bound in `check_iter`
After
error[E0277]: `{integer}` is not an iterator
--> tests/compile-fail/surface_source_iter_badtype.rs:5:21
|
5 | source_iter(5) -> for_each(std::mem::drop);
| ------------^-
| | |
| | `{integer}` is not an iterator
| required by a bound introduced by this call
|
= help: the trait `Iterator` is not implemented for `{integer}`, which is required by `{integer}: IntoIterator`
= note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end`
= note: required for `{integer}` to implement `IntoIterator`
note: required by a bound in `check_iter`
--> tests/compile-fail/surface_source_iter_badtype.rs:5:9
|
5 | source_iter(5) -> for_each(std::mem::drop);
| ^^^^^^^^^^^^^^ required by this bound in `check_iter`
error[E0277]: `{integer}` is not an iterator
--> tests/compile-fail/surface_source_iter_badtype.rs:5:9
|
5 | source_iter(5) -> for_each(std::mem::drop);
| ^^^^^^^^^^^^^^ `{integer}` is not an iterator
|
= help: the trait `Iterator` is not implemented for `{integer}`, which is required by `{integer}: IntoIterator`
= note: required for `{integer}` to implement `IntoIterator`
note: required by a bound in `check_iter`
--> tests/compile-fail/surface_source_iter_badtype.rs:5:9
|
5 | source_iter(5) -> for_each(std::mem::drop);
| ^^^^^^^^^^^^^^ required by this bound in `check_iter`
error[E0277]: `{integer}` is not an iterator
--> tests/compile-fail/surface_source_iter_badtype.rs:5:9
|
5 | source_iter(5) -> for_each(std::mem::drop);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `{integer}` is not an iterator
|
= help: the trait `Iterator` is not implemented for `{integer}`, which is required by `{integer}: IntoIterator`
= note: required for `{integer}` to implement `IntoIterator`
note: required by a bound in `check_iter`
--> tests/compile-fail/surface_source_iter_badtype.rs:5:9
|
5 | source_iter(5) -> for_each(std::mem::drop);
| ^^^^^^^^^^^^^^ required by this bound in `check_iter`
from rust.
Related Issues (20)
- Lints stop firing if macro reports with `Span::call_site`? HOT 4
- Miscompilation due to MatchBranchSimplification MIR pass mixing up discriminants HOT 13
- ICE: `tried to combine ConstKind::Infer/ConstKind::Infer(InferConst::Var)` HOT 1
- Documentation for abs() on signed integers doesn't mention unsigned_abs() HOT 1
- Allowlist for SanitizerCoverage
- ICW when Unknown MIR dialect: ' ' HOT 1
- something is weird about llvm submodule handling HOT 3
- ICE: assertion `left == right` failed at `rustc_const_eval/src/interpret/validity.rs` HOT 1
- generic_const_exprs and inline_const interact poorly. HOT 2
- ICE: inference variables in normalized parameter environment: unconstrained type HOT 2
- testing `cg_gcc` is difficult HOT 30
- ICE on stable due to messed up target/ directory HOT 6
- Unheplful Borrow Error Related to Use of Borrows in Loop
- ICE: `assertion failed: layout.is_sized()` HOT 3
- Tracking Issue for future-compatibility warning `SELF_CONSTRUCTOR_FROM_OUTER_ITEM`
- ICE: `error performing operation: fully_perform` HOT 3
- Couldn't evaluate constant const with `-Zpolymorphize=on` HOT 2
- missing diagnostic HOT 1
- std::fs::symlink_metadata + set_permissions makes unintuitive behavior HOT 2
- test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.