Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created July 17, 2020 21:25
Show Gist options
  • Save alexcrichton/ab4817cf334470161f6dd32b2d6712b2 to your computer and use it in GitHub Desktop.
Save alexcrichton/ab4817cf334470161f6dd32b2d6712b2 to your computer and use it in GitHub Desktop.
#![crate_type = "rlib"]
mod foo {
#![allow(elided_lifetimes_in_paths)]
use std::fmt::*;
struct A;
impl Debug for A {
fn fmt(&self, _f: &mut Formatter) -> Result {
Ok(())
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment