Comments (3)
I agree that that's not clear. It would be great, however, if there was some way to control the inlining behavior of the poll function.
from rust.
I feel like it's actually up for debate whether #[inline]
on an async fn should apply to the function item itself (that produces the future) or the poll function of the coroutine that the item returns. This distinction matters, and it's a subtlety that's not really possible to clearly distinguish with the current inline syntax.
from rust.
I can agree about that!
from rust.
Related Issues (20)
- Tracking Issue for `lazy_get`
- [ICE] adding a def'n for node-id NodeId(130468) and def kind AnonConst but a previous def'n exists HOT 3
- `unreachable_patterns` fires on match arm that can't be removed. HOT 3
- Compiler doesn't realize that all match cases are covered HOT 3
- Error message suggests to use a Box to wrap dyn Trait when it's unnecessary
- Compiler can't infer &str type when &String is inserted first in a collection with tuples HOT 1
- Integer literal type inference causes weird behavior including strange compiler diagnostic (but the suggestion is working).
- `dylib-soname` run-make test is not language independant HOT 3
- Add some docs for tidy
- ICE with higher order associated types HOT 4
- Tracking Issue for unbounded_shifts
- rust-analyzer compiler error (not issue with code) HOT 2
- Closure Fn* trait coercion removes other implementable Fn* traits HOT 3
- run-make: fix `run_make_support::fs::create_symlink` API and audit symlink usages in rmake.rs tests
- run-make: audit tests that codegen for specific targets
- Tracking Issue for `new_zeroed_alloc`
- Tracking Issue for `box_uninit_write`
- wasip2 uses wasi:random/random to generate hashmap_random_keys
- `refining_impl_trait` suggestion in invalid code
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.