1
Fork 0

Update rustdoc test to make it work with newly added rustc passes

This commit is contained in:
Guillaume Gomez 2021-02-27 22:17:31 +01:00
parent 25e030bc42
commit 5ab4d46e9a

View file

@ -1,3 +1,4 @@
#![stable(feature = "bar", since = "OLD 1.0")]
#![crate_name = "foo"]
#![feature(staged_api)]
@ -8,6 +9,7 @@ pub trait Bar {}
#[stable(feature = "baz", since = "OLD 1.0")]
pub trait Baz {}
#[stable(feature = "baz", since = "OLD 1.0")]
pub struct Foo;
// @has foo/trait.Bar.html '//div[@id="implementors-list"]//span[@class="since"]' 'NEW 2.0'