# Warning: \`using A: B\` will only be allowed for single bindings

**URL:** <https://discourse.julialang.org/t/warning-using-a-b-will-only-be-allowed-for-single-bindings/11345>\
**Category:** General Usage\
**Created:** [June 1, 2018, 5:26pm UTC](https://discourse.julialang.org/t/warning-using-a-b-will-only-be-allowed-for-single-bindings/11345 "2018-06-01T17:26:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![goedman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goedman/32/217_2.png) [@goedman](https://discourse.julialang.org/u/goedman)\
**Post date:** [June 1, 2018, 5:26pm UTC](https://discourse.julialang.org/t/warning-using-a-b-will-only-be-allowed-for-single-bindings/11345/1 "2018-06-01T17:26:54Z")

</div>

On Julia 0.7-alpha I get this warning:

Warning: `using A: B` will only be allowed for single bindings, not modules. Use `using A.B` instead

`import CmdStan: CmdStan, CMDSTAN_HOME, Diagnose, Optimize, Sample, Stanmodel, Variational, set_cmdstan_home!`

works fine. Is there a reason for this?

What I’m really trying to do is reexport all symbols of CmdStan except one, which I want to extend (my idea of “stacked environments” 🙂 and export the updated method  
( [https://github.com/goedman/StanStackedEnvironmentTest.jl](https://github.com/goedman/StanStackedEnvironmentTest.jl) ).

But maybe this is a bad idea and should use multiple dispatch for that?
