Stripped-down and updated version of original source:
pubtraitInterner<T>{fnnew() -> Self;fnget(&'selfself,tag:uint) -> Option<&'selfT>;}pubstructSimpleInterner<T:Eq + IterBytes + Hash + Clone>;impl<T>Interner<T>forSimpleInterner<T>{pubfnnew() -> SimpleInterner<T>{SimpleInterner}pubfnget(&'selfself,tag:uint) -> Option<&'selfT>{None}}% rustc --version
/Users/fklock/opt/rust-dbg/bin/rustc 0.9-pre (97cd495 2013-10-02 01:16:31 -0700)
host: x86_64-apple-darwin
% rustc --lib /tmp/s.rs
error: internal compiler error: ty::Region#subst(): Reference to self region when given substs with no self region: substs(regions=[], self_ty=Some(BUG[1u]), tps=[T])
Original bug report: https://gist.github.com/pnkfelix/6905109
Stripped-down and updated version of original source:
Original bug report: https://gist.github.com/pnkfelix/6905109