You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: internal compiler error: trans_local_var: no datum for local/arg 52 found
(...)
thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:190
I tried this code:
use std::slice::Iter;use std::io::{Error,ErrorKind,Result};use std::vec::*;fnfoo(it:&mutIter<u8>) -> Result<u8>{Ok(*it.next().unwrap())}fnbar() -> Result<u8>{let data :Vec<u8> = Vec::new();iftrue{returnErr(Error::new(ErrorKind::NotFound,"msg"));}letmut it = data.iter();foo(&mut it)}fnmain(){bar();}
I tried this code:
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: