Skip to content

Commit

Permalink
Update rustdoc test to make it work with newly added rustc passes
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 27, 2021
1 parent 25e030b commit 5ab4d46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/rustdoc/implementor-stable-version.rs
@@ -1,3 +1,4 @@
#![stable(feature = "bar", since = "OLD 1.0")]
#![crate_name = "foo"]

#![feature(staged_api)]
Expand All @@ -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'
Expand Down

0 comments on commit 5ab4d46

Please sign in to comment.