GitHub / dtolnay/async-trait issues and pull requests
#292 - Error:`impl Stream` in return type
Issue -
State: closed - Opened by royyoung388 28 days ago
- 2 comments
#291 - Generic parameters in functions
Issue -
State: closed - Opened by dcecile about 1 month ago
- 2 comments
#290 - async trait with lifetime could not be built
Issue -
State: closed - Opened by cgxxv 4 months ago
- 1 comment
#289 - Fix lifetime bounding on generic parameters that have cfg
Pull Request -
State: closed - Opened by dtolnay 5 months ago
#288 - Outer attributes of generic type / lifetime parameter not respected in async trait async function definition.
Issue -
State: closed - Opened by jymchng 5 months ago
Labels: bug
#287 - Where to subcribe for updates about `dyn Trait`?
Issue -
State: open - Opened by tombh 6 months ago
#286 - Update 'object safe' -> 'dyn compatible' naming in tests
Pull Request -
State: closed - Opened by dtolnay 6 months ago
#285 - Delete section on dyn compatibility of default implementations
Pull Request -
State: closed - Opened by dtolnay 6 months ago
#284 - Omit `Self: 'async_trait` bound in impl when not needed by signature
Pull Request -
State: closed - Opened by dtolnay 7 months ago
#283 - Unable to call `Self` in blanket implementation
Issue -
State: closed - Opened by sommd 7 months ago
#282 - Support `impl Trait` in return type
Pull Request -
State: closed - Opened by dtolnay 7 months ago
#281 - cannot implement async trait that returning "impl Trait"
Issue -
State: closed - Opened by nicholas-1vbw 7 months ago
- 1 comment
#280 - Compile success when generic parameter is possibly not "Send", but compile fail if said parameter is in a tuple
Issue -
State: open - Opened by david0u0 7 months ago
#279 - "elided_named_lifetimes" lint in latest Rust nightly
Issue -
State: closed - Opened by nazar-pc 10 months ago
- 1 comment
#278 - Ignore needless_arbitrary_self_type clippy lint in generated code
Pull Request -
State: closed - Opened by dtolnay 10 months ago
#277 - Macro-generated false positive for `clippy::needless_arbitrary_self_type`
Issue -
State: closed - Opened by adamspofford-dfinity 10 months ago
#276 - Ignore nightly's new elided_named_lifetimes lint in generated code
Pull Request -
State: closed - Opened by dtolnay 11 months ago
#275 - Generic parameters in functions
Issue -
State: closed - Opened by Tockra 12 months ago
- 2 comments
#274 - Support the impl Future syntax
Issue -
State: closed - Opened by Sytten 12 months ago
- 2 comments
#273 - Turn off syn/clone-impls feature
Pull Request -
State: closed - Opened by dtolnay about 1 year ago
#272 - syn: remove derive feature
Pull Request -
State: closed - Opened by klensy about 1 year ago
#271 - Macro-expanded usages of `Box` should use the fully-qualified path
Issue -
State: closed - Opened by shepmaster about 1 year ago
- 2 comments
#270 - Former where_clauses_object_safety lint is now hard error
Pull Request -
State: closed - Opened by dtolnay about 1 year ago
#269 - [Bug] Incorrect rust compiler help hint
Issue -
State: closed - Opened by h4-h about 1 year ago
- 1 comment
#268 - lifetimes do not match method in trait
Issue -
State: closed - Opened by king-11 about 1 year ago
- 3 comments
#267 - Resolve unexpected_cfgs warning
Pull Request -
State: closed - Opened by dtolnay about 1 year ago
#266 - `async fn() -> !` triggers "unreachable expression" warning
Issue -
State: closed - Opened by dtolnay over 1 year ago
#265 - Fix unreachable code warning for functions that return `!`
Pull Request -
State: closed - Opened by de-vri-es over 1 year ago
- 1 comment
#262 - Minimize use of `async` token's span in expanded code
Pull Request -
State: closed - Opened by dtolnay over 1 year ago
#261 - Skip needlessly generating inferred bounds during ?Send
Pull Request -
State: closed - Opened by dtolnay over 1 year ago
#260 - Ignore unused_qualifications rustc lint in generated code
Pull Request -
State: closed - Opened by dtolnay over 1 year ago
#259 - Using async-trait with nightly-2024-03-04 triggers `unused-qualifications` lint
Issue -
State: closed - Opened by jwodder over 1 year ago
#258 - Add dependabot
Pull Request -
State: closed - Opened by oriontvv over 1 year ago
- 1 comment
#257 - Issue with reference lifetimes in closures
Issue -
State: open - Opened by tezlm over 1 year ago
#256 - Re-enable tracing integration test under Miri
Pull Request -
State: closed - Opened by dtolnay over 1 year ago
#255 - Update explanation to show async block expansion
Pull Request -
State: closed - Opened by dtolnay over 1 year ago
#254 - Update documentation to discuss object safety in Rust 1.75+
Pull Request -
State: closed - Opened by dtolnay over 1 year ago
#253 - Account for AFIT stabilization in 1.75.0
Issue -
State: closed - Opened by stevefan1999-personal over 1 year ago
- 5 comments
#252 - Lifetime bounds on method do not match the trait declaration
Issue -
State: closed - Opened by Shell1010 over 1 year ago
- 1 comment
#251 - [Bug?] Error "expected trait impl" on associated impls
Issue -
State: closed - Opened by FallenValkyrie almost 2 years ago
- 2 comments
#250 - Feature: Catch unconditional_recursion
Issue -
State: closed - Opened by BKDaugherty about 2 years ago
- 2 comments
Labels: rustc bug
#249 - Update doc comments to use lifetime 'async_trait instead of 'async
Pull Request -
State: closed - Opened by erer1243 about 2 years ago
#248 - Feature: Adding Sync bound on Future
Issue -
State: closed - Opened by Mubelotix about 2 years ago
- 2 comments
#247 - Want way to detect recursive impls
Issue -
State: closed - Opened by ijackson about 2 years ago
- 2 comments
#246 - Poor error message when argument types mismatch
Issue -
State: closed - Opened by msrd0 over 2 years ago
- 1 comment
#245 - Regression in associated type parsing in `0.1.67`
Issue -
State: closed - Opened by daprilik over 2 years ago
- 1 comment
#244 - Handle async impl fn without body
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#243 - `#[cfg(..)]` gated impl parameters with lifetimes cause inconsistent lifetime bounds
Issue -
State: closed - Opened by azriel91 over 2 years ago
- 1 comment
#242 - using async_trait in tuple generic param, error: lifetime may not live long enough
Issue -
State: open - Opened by zavakid over 2 years ago
- 2 comments
#241 - Update to syn 2
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#240 - Possibly optimize simple function body?
Issue -
State: open - Opened by novacrazy over 2 years ago
#239 - Delete replacement of elided lifetimes in impl heading
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#238 - Weird interaction with `single_use_lifetimes`
Issue -
State: closed - Opened by adrianheine over 2 years ago
- 1 comment
#237 - Suppress async_yields_async clippy correctness lint in generated code
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#236 - Clippy lint `async_returns_async` fails if you return an awaitable type
Issue -
State: closed - Opened by danya02 over 2 years ago
#235 - Make expansion of nested `_` and `..` patterns edition independent
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#234 - Nested `_` and `..` patterns under 2018 edition can trigger rust_2021_compatibility warning
Issue -
State: closed - Opened by dtolnay over 2 years ago
Labels: bug
#233 - Bypass Sync bound implied by non-existent drop of reference
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#232 - Do not require Sync on unused shared reference arguments
Issue -
State: closed - Opened by dtolnay over 2 years ago
#231 - Different behaviour between non-trait async implementation and async-trait
Issue -
State: closed - Opened by gmalette over 2 years ago
- 2 comments
#230 - Improve spans of named lifetimes generated from elided lifetimes
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#229 - Spans for elided lifetimes for references are suboptimal.
Issue -
State: closed - Opened by steffahn over 2 years ago
- 2 comments
#228 - warn: `where_clauses_object_safety` when adding default implementation for `async_trait`
Issue -
State: closed - Opened by NishantJoshi00 over 2 years ago
- 3 comments
#227 - Forward attributes on `impl` function parameters to variable declaration.
Pull Request -
State: closed - Opened by azriel91 over 2 years ago
#226 - Attributes on impl parameters are not forwarded to body
Issue -
State: closed - Opened by azriel91 over 2 years ago
#225 - Filling match arms replaces #[async_trait] attribute instead of actual match statement
Issue -
State: closed - Opened by vikulikov over 2 years ago
- 5 comments
#224 - Error: borrow of moved value: `self` when using let-else
Issue -
State: closed - Opened by NobodyXu over 2 years ago
- 2 comments
#223 - Infer Sync+Send bound for Arc<Self> methods with default body
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#222 - Generalize support for inferred multiple bounds
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#221 - Create enum for the different possible inferred bounds
Pull Request -
State: closed - Opened by dtolnay over 2 years ago
#220 - The status of GAT implementation?
Issue -
State: closed - Opened by qiujiangkun over 2 years ago
- 2 comments
#219 - Future is not 'Sync' as this value is used across an await
Issue -
State: closed - Opened by eldenpark almost 3 years ago
- 1 comment
#218 - Tweak some spans to try for meaningful click-through on method names
Pull Request -
State: closed - Opened by dtolnay almost 3 years ago
#217 - Go to definition leads to wrong place for methods defined inside trait anotated with #[async_trait]
Issue -
State: closed - Opened by vikulikov almost 3 years ago
- 2 comments
#216 - Add `+Sync` argument to mark the future as `Sync`
Pull Request -
State: closed - Opened by rcelha almost 3 years ago
- 2 comments
#215 - `higher-ranked lifetime error` with a simple example involving a BTreeMap
Issue -
State: closed - Opened by cpgddln almost 3 years ago
- 3 comments
Labels: rustc bug
#214 - async_trait uses the raw `Box` identifier rather than a fully qualified path
Issue -
State: closed - Opened by Stonks3141 almost 3 years ago
- 1 comment
#213 - cargo doc generates ugly documentation
Issue -
State: closed - Opened by nullchinchilla almost 3 years ago
- 5 comments
#212 - Higher-ranked lifetime error when using streams
Issue -
State: closed - Opened by Tuetuopay almost 3 years ago
- 2 comments
#211 - README: Clarify description of non-threadsafe futures
Pull Request -
State: closed - Opened by dubek about 3 years ago
#210 - Defaulted method with `self: Arc<Self>` doesn't work
Issue -
State: closed - Opened by ChayimFriedman2 about 3 years ago
#209 - Temporarily disable clippy on tests due to ICE
Pull Request -
State: closed - Opened by dtolnay about 3 years ago
#208 - Disable test of tracing attrs on miri due to once_cell
Pull Request -
State: closed - Opened by dtolnay about 3 years ago
- 1 comment
#207 - Async methods returning streams
Issue -
State: closed - Opened by huntc about 3 years ago
- 1 comment
#206 - Parenthesize other cases that require parens around impl Trait
Pull Request -
State: closed - Opened by dtolnay about 3 years ago
#205 - Use parentheses to disambiguate impl Trait
Pull Request -
State: closed - Opened by dtolnay about 3 years ago
#204 - Use parentheses to disambiguate impl Trait
Issue -
State: closed - Opened by dtolnay about 3 years ago
#203 - Make closure capture independent of 2018 vs 2021 edition
Pull Request -
State: closed - Opened by dtolnay about 3 years ago
#202 - Prevent positional args from being named inside function body
Pull Request -
State: closed - Opened by dtolnay about 3 years ago
#201 - Add 'async_trait lifetime to impl Trait arguments
Pull Request -
State: closed - Opened by dtolnay about 3 years ago
#200 - Using self method in default implementation is not supported
Issue -
State: closed - Opened by stevenroose about 3 years ago
- 2 comments
#199 - changes to closure capture in Rust 2021 affect drop order of ignored arguments
Issue -
State: closed - Opened by ComputerDruid about 3 years ago
- 5 comments
Labels: bug
#198 - Using `do yeet` in a async trait function makes the compilation fail
Issue -
State: closed - Opened by JavaDerg about 3 years ago
- 1 comment
#197 - Add 'async_trait lifetime bound to ImplTrait argument
Pull Request -
State: closed - Opened by kawaemon about 3 years ago
- 1 comment
#196 - Lifetime issue when trait parameter is a reference
Issue -
State: closed - Opened by peterstuart over 3 years ago
- 2 comments
#195 - feat(unboxed_simple): unboxed_simple for wider coverage
Pull Request -
State: closed - Opened by wvwwvwwv over 3 years ago
#194 - Move bounds from generic param list to where-clause after 'async_trait bound
Pull Request -
State: closed - Opened by dtolnay over 3 years ago
#193 - Add ui test to capture current situation of rust issue 93828
Pull Request -
State: closed - Opened by dtolnay over 3 years ago
#192 - rust-analyzer expected dyn Future, found impl Future
Issue -
State: closed - Opened by takkuumi over 3 years ago
- 1 comment
#191 - Tag the inserted lifetime bounds with the span of the other bounds
Pull Request -
State: closed - Opened by notriddle over 3 years ago