Skip to content

Commit d83ae31

Browse files
committed
select! warning on recursion limit
Warning as discussion in issue rust-lang#1917.
1 parent ecb7c5f commit d83ae31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

futures-util/src/async_await/select_mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ macro_rules! document_select_macro {
3232
/// It is also gated behind the `async-await` feature of this library, which is
3333
/// _not_ activated by default.
3434
///
35+
/// **Warning**: `select!` relies on `proc-macro-hack`, and may require to set the
36+
/// compiler's recursion limit very high, e.g. `#![recursion_limit="1024"]`.
37+
///
3538
/// # Examples
3639
///
3740
/// ```

0 commit comments

Comments
 (0)