]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-26548.rs
Sanity-check all constants
[rust.git] / src / test / compile-fail / issue-26548.rs
index fc4f3d1fb53de5a13c7cf49ac33b08385798eff9..85ddf8d9493d5f573125a03ca30da77553ce2760 100644 (file)
 //~^^^^^^^^^^ ERROR cycle detected when computing layout of
 //~| NOTE ...which requires computing layout of
 //~| NOTE ...which again requires computing layout of
-//~| NOTE cycle used when compile_codegen_unit
 
 trait Mirror { type It: ?Sized; }
 impl<T: ?Sized> Mirror for T { type It = Self; }
 struct S(Option<<S as Mirror>::It>);
 
-fn main() {
+fn main() { //~ NOTE cycle used when processing `main`
     let _s = S(None);
 }