Skip to content

Instantly share code, notes, and snippets.

@daboross
Created April 27, 2015 02:55
Show Gist options
  • Save daboross/67a574067eb4ad2f2a80 to your computer and use it in GitHub Desktop.
Save daboross/67a574067eb4ad2f2a80 to your computer and use it in GitHub Desktop.
src/filewatch.rs:47:23: 131:10 warning: label name `'thread_loop` shadows a label name that is already in scope
src/filewatch.rs:47 'thread_loop: loop {
src/filewatch.rs:48 let events = match watch.wait_for_events() {
src/filewatch.rs:49 Ok(v) => v,
src/filewatch.rs:50 Err(e) => {
src/filewatch.rs:51 if e.kind() == io::ErrorKind::Interrupted {
src/filewatch.rs:52 continue 'thread_loop;
...
src/filewatch.rs:47:23: 131:10 note: shadowed label `'thread_loop` declared here
src/filewatch.rs:47 'thread_loop: loop {
src/filewatch.rs:48 let events = match watch.wait_for_events() {
src/filewatch.rs:49 Ok(v) => v,
src/filewatch.rs:50 Err(e) => {
src/filewatch.rs:51 if e.kind() == io::ErrorKind::Interrupted {
src/filewatch.rs:52 continue 'thread_loop;
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment