Make the LocalKey facade of thread_local! inlineable cross-crate.
This commit is contained in:
parent
a3beb8fe61
commit
4e2be14986
2 changed files with 14 additions and 4 deletions
|
|
@ -16,5 +16,5 @@ mod bar {
|
|||
|
||||
fn main() {
|
||||
bar::baz.with(|_| ());
|
||||
//~^ ERROR static `baz` is private
|
||||
//~^ ERROR `baz` is private
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue