2 // aux-build:edition-lint-infer-outlives-macro.rs
4 // Test that the lint does not fire if the where predicate
5 // is from the local crate, but all the bounds are from an
8 #![deny(explicit_outlives_requirements)]
11 extern crate edition_lint_infer_outlives_macro;
13 macro_rules! make_foo {
15 struct Foo<$a, 'b> where 'b: $a {
23 struct Bar<'a, 'b: 'a> {
24 //~^ ERROR: outlives requirements can be inferred