Skip to content

Instantly share code, notes, and snippets.

@arpu
Created October 21, 2018 22:13
Show Gist options
  • Save arpu/6c3e27dd105c8b63a736332956a2f517 to your computer and use it in GitHub Desktop.
Save arpu/6c3e27dd105c8b63a736332956a2f517 to your computer and use it in GitHub Desktop.
Compiling janus-plugin-sfu v0.1.0 (file:///root/bleemvr/janus-plugin-sfu/scripts/build/mquander/janus-plugin-sfu)
error: `impl Trait` is experimental (see issue #34511)
--> src/messages.rs:34:27
|
34 | pub fn try_parse(val: impl Borrow<str>) -> Result<Option<T>, Box<Error>> {
| ^^^^^^^^^^^^^^^^
error: `impl Trait` is experimental (see issue #34511)
--> src/switchboard.rs:179:61
|
179 | pub fn media_recipients_for(&self, sender: &Session) -> impl Iterator<Item=&Arc<Session>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: `impl Trait` is experimental (see issue #34511)
--> src/switchboard.rs:199:60
|
199 | pub fn media_senders_to(&self, recipient: &Session) -> impl Iterator<Item=&Arc<Session>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: `impl Trait` is experimental (see issue #34511)
--> src/switchboard.rs:219:71
|
219 | pub fn data_recipients_for<'s>(&'s self, session: &'s Session) -> impl Iterator<Item=&'s Arc<Session>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors
error: Could not compile `janus-plugin-sfu`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment